So the state is relying on the ignorance of parents to attempt to enforce their state control, 'big government knows best' attitude in law. They expect us to simply comply to an unlawful enforcement of invalid contracts. There is no such thing in the legal world as a compulsory contract. A contract is defined by two or more 'persons' consenting to terms and conditions for one 'person' to provide goods or service of an agreed value to the other 'person'.
The key word in all that is 'consent'.
They cannot enforce a 'compulsory' contract as the mere attempt to make the contract compulsory renders the contract null and void.