Comment on California introduces age verification law for all operating systems, including Linux and SteamOS — user age verified during OS account setup
I meant that the law is easily bypassed, for example by not implementing what you described. Good point nonetheless.