"If by the age of 11, (or thereabouts, whatever the age is in your country) a child cannot be responsible enough to avoid their particular allergen, then are they really mature enough to be in the school at all?"
In my experience, schools do not require any kind of a maturity level as a prerequisite for enrolment - if they did, teaching might be a pleasant job.