That would require technical know-how.
It's much easier for clueless lawmakers to write "the computer check the age", and make it everyone else's problem.