Banned Sock Puppet
OK, understood. I stand corrected.Depends upon state constitution. Usually it's a "city" form of government that the state constitution gives certain authority for "city code" type statues. Some mirror state law. Some of these fines go to city coffers but many, no matter if city code or state law violated, fee goes to big brother at state level.
Larger the city usually more power at state level. Like NYC basically is it's own state within a state ...vast juice to be able to have some of the laws they do.