Sometimes government is authorized to override parental control...there are laws in place...
for starters, take a look at the link I provided...then go on to learn about The parens patriae doctrine gives the state the right to intervene with a parent's decision when it's believed they are not acting in the best interest for the child's well-being.
You're welcome.