Let's not pretend that these laws actually do protect children..
There is always a way around something and if there's any population to figure it out, it's the ones with the most free time.
The difference between going to a bar and using the internet: Showing your ID at a bar doesn't mean it's stored on some server possibly ready to be stolen by hackers. It also doesn't automatically link all of your user data to your id (like it does right now) and make it easier to track your movements everywhere you go.
These laws help no one except the elite. They restrict us, limit access to information and eventually cause our data to be comprimised.
Bad parents exist, but does that mean we lockdown the most expansive knowledge base for everyone? I don't believe this will stop any children of bad parents from being exposed to horrible things online. Age gates don't stop that (because they either get bypassed or another site exposes even worse stuff without the age gate).
I think if you as a parent have router controls and block adult content on their mobile plan if they have one (which I have seen as an option), then you are already doing a lot.
Most routers from ISPs come with "adult" content filtering enabled by default I think, at least the ones I've had have had this on.
VPNs already work and I can't see them not working, so that's always an option I guess, but they are also still an option with ID laws (ie connect to a region where they have no such laws).
Children's safety online can't involve limiting access and tracking everyone who ever goes online with their national ID attatched to every request (basically).
I think it'd be better if we explored the option that involves a parent blocking websites either on your network or on a device they give to you.