If you dont want to serve or moderate your site for children and be exposed to fines, you block any request with the relevant flag.
You just need a law to enforce what can be served when using the relevant flag, and some talks with Google, Apple Microsoft and w3 to implement it.
you can even segment it my category; no-login, no-posting, no-18-plus, no-violence, no-politics, under-16, region-EU, region-UK.
This leaves control to parents to do what they deem appropriate for their age, and doesn't turn into a authoritative surveillance state.... wait thats the point isn't it...
nevermid there is no alternative /j