A school is not a public place, and so that isn’t an equivalent example. If the sidewalk in front of the Masjid is a public area, you should legally be able to throw a bacon-and-Koran barbecue during Eid. There is no world where you can punish people for doing that and not end up on a slippery slope that jeopardizes freedom of expression.
I understand what you’re saying, but to actually act on that and try to put it into law would be foolish.