The ban follows government consultations with school groups and peak bodies.