That’s just the tip of the iceberg and only wrt the environment. EU and NAFTA are also international agreements that have teeth, as is the Berne convention on copyright (even if you don’t like it). Unicode is the UN in action as is the boat that will pick you up if you happen to get stranded on a deserted island (and have the necessary, and standardized, beacon). If you’re a Mongolian in a Mexican jail or a Mexican in a Mongolian jail, your embassy will be informed and allowed to render legal support, thanks to an international agreement to that effect. If you’re being subjected to cluster munitions, your foe is one of the few people on earth that wouldn’t enjoy a trip to the Netherlands. If you find yourself being extradited to The Hague, the plane you’re traveling on will conform to internationally agreed safety standards. A kilogram, meter, second, or joule is the same as your trading partners‘, thanks ISO, and the T in NATO seems to be some mighty piece of paper, considering how it manages to scare the shirtless man shitless.
https://octogroup.org/news/paper-parks-why-they-happen-and-w...
https://www.cremacr.org/en/new-report-finds-costa-rica-is-fa...
I think you, like many, mistakenly assume that there is some law or authority over all nations.
Convention for the Suppression of Unlawful Acts against the Safety of Maritime Navigation (the basis for modern high seas piracy law) https://en.m.wikipedia.org/wiki/Convention_for_the_Suppressi...
Wellington Convention (prohibition on long drift net fishing in the Pacific) https://en.m.wikipedia.org/wiki/Wellington_Convention
1990 Chemical Weapons Accord (bilateral between US and Russia) https://en.m.wikipedia.org/wiki/1990_Chemical_Weapons_Accord
UNFCCC (basis of UN climate negotiations) https://en.m.wikipedia.org/wiki/United_Nations_Framework_Con...
Convention on Biological Diversity https://en.m.wikipedia.org/wiki/Convention_on_Biological_Div...
Chemical Weapons Convention https://en.m.wikipedia.org/wiki/Chemical_Weapons_Convention
Aarhus Protocol on Persistent Organic Pollutants https://en.m.wikipedia.org/wiki/Aarhus_Protocol_on_Persisten...
Kyoto Protocol https://en.m.wikipedia.org/wiki/Kyoto_Protocol
Rome Statute of the International Criminal Court (establishes the ICC) https://en.m.wikipedia.org/wiki/Rome_Statute
... and then everything after 2000 too.
I know it's en vogue on HN to bash the UN/international diplomacy as useless, but it's illogical to expect a lot of smart folks, working hard for enough time, not to produce useful things. And there's a lot of tragedy-of-the-commons problems which the UN is an excellent forum to solve.
I love bureaucracy and diplomacy... They make us look so productive while once in a while real change comes along.
Forgive my pessimism, but I've seen too many international accords that haven't been worth the paper they were printed on (with loads of media coverage and fanfare) during my lifetime.