Those laws allow the state to ignore the consent of children. We can, and should, find those laws federally unconstitutional.
Violence and the threat of violence for breaking the law and lawful commands of "state actors" is the foundation of the entire system of government. I don't think you've stumbled on some clever hack.
1775 the first steps toward the foundation of the US government began.