that's how it's written
Over the course of my life thus far I've encountered some pretty dumb laws.
In Connecticut where I grew up there are these ancient obsolete laws called Blue Laws that are still regularly enforced. The one most recognized there is that no alcohol is permitted to be sold on Sunday. I'm not a drinking man, but that's just stupid. In addition to that, it was difficult to find any convenience store that sold alcohol. I think this has changed by now, but for many years the only place you could get alcohol was at supermarkets or liquor stores.
In Florida one of the dumbest laws is the fact that public buildings must have doors that only open outward. This is supposedly safer in the event of a fire. And it's totally true, most public buildings do not have inward-swinging doors because of this law. You'll see exceptions for automated doors, but for manual pulled ones, they do only swing outward - malls and stadiums included. However it begs the question: In the event of a fire, whom other than firefighters would be rushing into the building that would push the door open inward?