> There's not another obvious solution to the problem
The problem with this solution is it's far too overly broad while also not working well. It leaves out the most important parts from the legislation while specifying universal compliance.
What the law should have been is "Operating systems intended to be used by minors should have this age verification specification implemented" with a nice documentation of that specification and how it should work. As written, you'll basically end up with the potential that every single OS ends up with it's own age verification system, which defeats the entire point of these laws in the first place.
Saying "all operating systems" puts us in this complicated and dumb position where now an embedded OS needs to worry about age verification of it's user.