John is walking in the park one day, ranting to himself about stupid drivers not obeying the speed limit and roaring down his street and the stupid police not doing anything about it, when he comes across a bottle half buried in the dirt. To his surprise, when he pulls it out and opens it, a genie comes out! Unlike other genies, this one will only grant a single wish. John, still thinking about those drivers, makes a spur-of-the-moment wish: "I wish all laws would be enforced!"
POOF! All laws are now magically enforced. Nobody can willingly and knowingly break a law, ever again.
Of course, dictators love this. They can make all the laws they want, and their subjects have to obey them! (Way to go, John)
But what about elsewhere in the world? How would lawmakers try to use and abuse the opportunity to make laws that will be obeyed?
You have to know about, understand, and be capable of following a law in order to be required to obey it. Also, only humans are affected. So
- A law that everyone will always speak Esperanto only affects those who already speak it
- A law that everyone will learn Esperanto does affect everyone who doesn't speak Esperanto
- A law saying that all infants will allow their parents to get enough sleep does nothing :(
- A law passed in secret does nothing until it is no longer secret
- Laws cannot make plants, animals, or inanimate objects do anything (making it illegal for a building to collapse while there are people inside is useless)
Examples of "use":
- Doing their best to prevent their successors from abusing the system
- Setting up a system allowing people to encode goals as laws, such as "Sally will exercise three times a week", or "Fred will stop smoking"
Examples of "abuse":
- Legalized bribery
- Setting themselves up as a permanent aristocracy
- Making it so that no laws apply to them
Which government is responsible? The one in charge of the area. In contested areas (such as during a civil war), I'm not sure how this would work. Those areas are not the focus of this question, though.