So they are able to enact their own laws? That's pretty different from Germany, where a municipality cannot override laws from higher courts.
The level to which German society proscribes behavior top down with the law simply wouldn’t be tolerated across the spectrum for the simple reason no one would agree what the rules should be, even if they share the European idea that everyone else should follow the rules they personally support.