And, by far, the worst part of it is, it makes innovation in housing a complete non-starter. It's tantamount to: if in the 1980s (before the shape of the internet was known) the government had decided to tax every page download 20 cents. Imagine how much that would have stifled innovation - everything internet would've come to a screeching halt before even seeing what's possible.
Personally, I think these laws are a major crime against humanity. Housing makes up such large percentage of people's spending (50%-65% when you take into account property taxes for 50 years). It keeps you a wage slave for at least 30 years. It doesn't have to be this way - housing can cost a fraction of what it does now without all these regulations, with the right land use policy, the right building materials, using manufactured homes, etc.