This is the way. California wants stupid (even immoral) laws? Companies cannot use those OS? Oh noes, what a shame.
Also, why the age brackets? It should be a simple boolean whether the user is an adult or not. Age brackets enable targeting.
Also the idea itself is just useless because kids will just learn to patch binaries.