A judge has ruled that San Antonio, Texas' Northside Independent School District cannot expel a student for refusing to wear her district-issued RFID tag, CBN News reported.

The district spent more than $500,000 implementing the program, according to The Register. But after Andrea Hernandez, a sophomore at John Jay High School's Science and Engineering Academy declined to wear the badge, she was expelled. Hernandez objected to wearing the lanyard because she said it violated her religious beliefs and invaded her privacy.

The judge prohibited the district from expelling Hernandez and issued an order that prohibits the district from 'intimidating or retaliating' against the student, ruling that the RFID system is a 'clear violation of her constitutional rights,' Free Republic reported.

"The court's willingness to grant a temporary restraining order is a good first step, but there is still a long way to go," Whitehead told Free Republic. "Not just in this case, but dealing with the mindset in general that everybody needs to be monitored and controlled."