The local people certainly have a right to pass such a law. I’m not sure it’s just, but it is what it is I guess.
Well, I know my HOA also had terms limiting the number of unrelated persons in a house. Because all those extra people were taking other homeowner’s assigned spaces.
Except mine.
Probably because I kept an INS hat on the dashboard, and routinely wore an INS raid jacket when going to and from the car. Of course, it had become ICE by then, so they needed new Raid Jackets, and they handed out all the old ones to the contractors as a freebie (they were apparently considered expendible items. . .)