Religious reasons led Andrea Hernandez to stop wearing the tag that revealed where she was on her school campus.

The tags were introduced to track students and help tighten control of school funding.

A Texan court has granted a restraining order filed by a civil rights group pending a hearing on use of the tags.

ID badges containing radio tags started to be introduced at the start of the 2012 school year to schools run by San Antonio's Northside Independent School District (NISD). The tracking tags gave NISD a better idea of the numbers of students attending classes each day - the daily average of which dictates how much cash it gets from state coffers.

Introducing the tags led to protests by some school students at John Jay High School - one of two schools out of 112 in the NISD catchment area piloting the tags.

Ms Hernandez refused to wear the tag because it conflicted with her religious beliefs, according to court papers. Wearing such a barcoded tag can be seen as a mark of the beast as described in Revelation 13 in the Bible, Ms Hernandez's father told Wired magazine in an interview.

NISD suspended Ms Hernandez and said she would no longer be able to attend the John Jay High School unless she wore the ID badge bearing the radio tag. Alternatively it said Ms Hernandez could attend other schools in the district that had not yet joined the radio tagging project.