Consent, law and the limits of education