In the main branch of my universe, I used the UN as the center of a world government post magical quasi-apocalypse. Never needed to get too deep into details, but the laws reusing regarding use of magic as weaponry against other nations was covered "on screen", as was the basic human rights charter.
But the main universe is set up for TTRPG, and has had changes here and there, including a few years as a monarchy on earth under the reincarnation of King Arthur.
In the branch I use for most of my writing, things are a little less explosive, and there's no world unification. There is still a UN, and a more powerful world court and legal cooperation via interpol.
However, there's also a separate set of laws called The Pact, which was made between the gods, the living, and all the major spiritual powers. The exact details vary by universe branch, but the two biggest ones cover when and how gods can intervene in the material plane, and when and how spirits can manifest.
The key difference in the Pact between the two main branches deals with the soul. In the TTRPG version, souls can still be bought, sold, traded, etc, but there's limits involved that prevent eternal consequences. In the literary branch, souls are inviolate for the most part. Interference with the natural movement and cycles of the soul are harshly punished by all signatories of the Pact. It's at the center of the main character's stories since he's a necromancer.
Again, not everything has happened "on screen", but I've got scribbled notes and a backlog of brain notes that are moderately developed.