Payment, probably. Such schemes are used in German schools which are staring to offer meals in cafeterias since a couple of years. (German schools didn’t offer services in the afternoon, as a general rule.)
Meals are opt-in, though, and children can identify themselves using their fingerprint.
And yes, that’s overkill (with lots of collateral damage) for a problem that shouldn’t exist in the first place.