I think just about all legal systems have catch-all regulations that allow for fines for abuse.
Moreover, law isn't actually mechanical rules like computer science - people who skirt the law systematically often find themselves facing serious legal problems and intention is a big consideration in some (but not all) regulations. "Obstruction of justice", "contempt of court" and so-forth are broad statutes that let courts lean on those abusing the system. etc.
The actual problem, I'd note, is that courts and cities are much more hesitant to go after large, monied interests as compared small interests. A local crank doing what Uber, Airbnb or others do could go to jail, these companies just count their money.
https://www.ksl.com/article/32424611/vernal-bank-built-by-br...
> This massive shipment was noteworthy not only for its size, but also because it destroyed one of the Uintah Railway Company's trucks. The truck's brakes failed and it started coasting backwards after breaking a drive chain while struggling uphill, loaded with several thousand bricks. The truck then turned over and caught fire. The driver was not injured, but most of the bricks were lost.
I imagine USPS pricing didn't account for that incident!
That is a very American sentiment, most governments doesn't consist of ~50% lawyers.
For example in Sweden the government is full of union members from the working class, they have very different view of what role the government should have with respect to company abuse. The result is that basically all laws are worded in such a way that if any ambiguity exists it will disfavor private companies.