That’s probably the actual goal. It’s not for your kids, but to KYC every single social media user so people censor themselves.
This also makes selective enforcement possible. Since obviously everyone will ignore that law anyway, they can go after social media companies they don't like (X) and turn a blind eye to the rest.