Would you consider it ILLEGAL for a restaurant to SERVE STUDENTS during SCHOOL HOURS?

Keeping Kids in School...
Keeping Kids in School...

In Baltimore, Maryland USA, it is illegal for a restaurant to serve food to minors during school hours. The law is in place to try to keep kids in school, and restaurants can be fined $500 for violating it. A pending modification to the law would raise the fine to $1000.

Council considers increasing fine to $1K for businesses that serve minors during school hours

So, kids in Baltimore are not allowed to go to a nearby restaurant for lunch or during school breaks like recess.

What do you think of this law?

Updates
+1 y
When I was in high school, many years ago (not in Baltimore) if we had a free period, or for lunch, we often went across the street to a small snack bar style restaurant, to pick up a drink, a sandwich and some snacks. I guess that would be illegal in Baltimore.
Would you consider it ILLEGAL for a restaurant to SERVE STUDENTS during SCHOOL HOURS?
Post Opinion