You're right, it does violate your human rights. But it also instills good morals and values (on paper, anyway), which is why it's kept. The policy seems to be the same for most schools. You can NOT be charged in court for defending yourself. You can, however, be suspended or expelled from school.