An Orthodox Jewish high school basketball team from Houston has won a reprieve that will allow it to play a state playoff game at a time that doesn't conflict with the Sabbath.

Robert M. Beren Academy was scheduled to play its Class 2A state semifinal game against Dallas Covenant at 9 p.m. local time Friday in Mansfield, southeast of Fort Worth. Beren players observe the Sabbath between Friday night and Saturday night and won't play basketball during those hours. The Texas Association of Private and Parochial Schools (TAPPS) had rejected Beren's requests to reschedule the game but relented Thursday after parents filed a lawsuit

over the original game time.

A group of parents with boys on the team sued TAPPS

and sought a temporary restraining order requiring the agency to reschedule the game.

After being notified the lawsuit had been filed, TAPPS director

Edd Burleson said the association would reverse course and allow

Beren (23-5) to play Dallas Covenant at 2 p.m. Friday at Fort Worth Nolan High School.

Should the Stars win, they'll start their championship game no earlier than 8 p.m. on Saturday.

Headmaster Harry Sinoff and coach Chris Cole only learned of the legal action Thursday morning, they said, and regretted that the situation reached the level of legal action.

"It's a mixed emotion," Cole said. "We feel like we've earned the right to play. Our focus all week has been trying to get TAPPS to reschedule the game times to accommodate us.

"At the same time, this was not the course of action that we wanted."

Burleson said earlier this week that association bylaws prevented TAPPS from moving Beren's game time.

The complaint says that the basketball team is "being denied, solely on account of their religious observance, a once-in-a-lifetime opportunity to compete in their athletic conference's state basketball championship tournament.

"That is an irreplaceable opportunity," the complaint said, "and its deprivation constitutes irreparable harm attributable to disqualification of Beren and its team because of their Jewish religious beliefs and observances."

Cole made an awkward call to TAPPS Thursday morning, stressing that the school itself did not file the legal action. Beren, with an enrollment of 247 students, immediately held an assembly in its gym, where Rabbi Avi Pollak informed all of the students that the game was back on.

"You could see some excitement in the hallway," Cole said. "My phone started going crazy."

When he went to bed Wednesday night, Cole was resigned to the fact the team's season was over. TAPPS twice denied appeals by Beren to have the start time of its semifinal game moved, and Cole called off Wednesday's practice and presided over a team meeting instead.

"We felt like we had exhausted all opportunities," Cole said. "We kind of sat around, like a family, and just talked and reminisced about things that happened during the season. It was a nice, quiet time. Today's events were pretty shocking."

Beren, a TAPPS member beginning last year 2011, advanced to the semifinals by beating Kerrville Our Lady of the Hills last week. Sinoff said the school never planned legal action, even though the final resolution was what the school wanted from the beginning.

"We deserve this opportunity, we've made that case all along," Sinoff said. "This is good for basketball, it's good for the tournament. These are the teams that should play."

Information from ESPNDallas.com's Randy Jennings and The Associated Press was used in this report.