Not that I'm aware of
it may give the school legal rights to remove them from the school or take some other disciplinary action, but I don't see how it is illegal. There just isn't a law for that, though I am thinking maybe tort of deceit if the school suffered some detriment such as loss of...