All students are required to obey lawful directives from school personnel, and if the student refuses to obey and gets mouthy, yup, he is going to pay the lawful price.
Tis what tis, bripat. All of your hollering changes nothing.
The issue then becomes whether it was a lawful order. That issue will be determined with reference to TINKER ET AL. v. DES MOINES INDEPENDENT COMMUNITY SCHOOL DISTRICT ET AL. which held that "Students do not shed their constitutional rights when they enter the schoolhouse door." The issue was the right of students to wear black armbands to protest the Vietnam War. The court upheld the right of students to do so so long as the school administrators could not "show that it would cause a substantial disruption of the school's educational mission." Tinker is available here:
FindLaw | Cases and Codes
Other cases of note:
Papish v. Bd. of Curators of the Univ. of Missouri (1973) which held that a university could not expel a journalism student who distributed leaflets which included 4 letter words and a graphic protrayal of the Statute of Liberty being raped.
Bethel School District No. 403 v. Fraser (1986) which held that it was ok for a Washington High School to discipline a student who gave a speech at a school assembly which was filled with sexual innuendos.
Hazelwood School District v. Kuhlmeier (1988) which held that a high school could censor a school newspaper concerning sensitive issues such as pregnancy and involved the invasion of privacy of other students.
Morse v Frederick (2007) which held that a school could discipline a student who held up a 14 foot banner which read:
"Bong Hits 4 Jesus."
This one was odd, since the critical issue in the previous cases was the disruption of school. In Morse the activity was not even at school, but it was at a school sponsored activity... the court reasoned that the strong anti-drug policy of the school justified the action and that the message was reasonably perceived as promoting illegal drug activity. Case available here:
http://www.supremecourt.gov/opinions/06pdf/06-278.pdf