Betcha anything this gets justified as a fire or safety issue. I could even see inspectors assessing residential property to establish occupancy limits and require permitting for gatherings.
If I was a blossoming tyrant, that's the approach I'd take.
The elitist bloodsuckers that run society see us as piggy banks to be shook, little else. Then they believe anything that annoys them should be outlawed.