This happens mostly in zoning cases where there is spot zoning that is not consistent with the municipal master plan . Ordinances are found to be arbitrary and capricious and not consistent with other established ordinances and therefore it is held invalid by courts.
Is the parking permit ordinance an excise in legitimate police powers to protect health, safety, and welfare or is it a revenue grab? Does it benefit a small segment of the population or the public in general?
Municipalities have taken their powers to extremes which in many cases violate the US constitution 8th amendment .
A municipality passes a property maintenance code and if your grass is too long the homeowner gets fined $500 per day. Then the municipality forecloses to collect the fine. There are many such cases in litigation across the nation.Excessive bail shall not be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted.
It's all about the revenue. Sooner or later this will be before the Supreme Court.
Does that compute? You lose your property because your grass is too long.