Yes, it’s in response to those laws, but it would also undermine their arguments. When a privacy protecting method of age checks is in place, they’ll need to use poorer arguments for why they should dox all internet users.
Regardless of the laws, having a simple age check from the browser/OS would be handy. Wish the EUs anti tracking had required it to be a check against a users predefined setting instead of the popup on every single website.