By Amy E. Feldman

PHILADELPHIA (CBS) – Can a public school randomly drug test its students?

READ MORE: Norristown Police Searching For 3 Teens Accused Of Brutally Beating 56-Year-Old Pizza Shop Owner

The parents of a 14-year-old Pennsylvania girl had simply had enough of the school’s random drug tests. After she took – and passed – five drug tests in three years, the parents refused to sign the permission slip giving the school permission to conduct the tests anymore. As a result, the girl, was not allowed to participate in the Junior National Honor Society.

READ MORE: CBS3 Legend Pat Ciarrocchi Tells Ukee Washington Her Most Personal Story Ever -- Her Own Brain Surgery

Is the school really allowed to give her drug tests or refuse to let her participate in school activities? The answer is yes.

The Fourth Amendment says that a person can’t be subject to an unreasonable search and seizure by public officials. But, the US Supreme Court decided that it will allow random drug tests for all public middle and high school students participating in extracurricular activities.

MORE NEWS: The Story Of Pat Ciarrocchi's Brain

While the school district probably intended its policy to prevent kids from trying drugs – or get them into treatment if they did – the unintended consequence in this case prevented the participation of a straight A student in an extracurricular honors program.