Principals alleged to have barred students from school