Updated

A Tuesday court ruling in Montana will prohibit Rep. Zooey Zephyr, a transgender lawmaker, from returning to the state House floor after she was censured by Republicans for telling them they would have blood on their hands for opposing gender surgery for kids.

The ruling by District Court Judge Mike Menahan came after lawyers for the state of Montana asked a judge to reject Zephyr's request to return. Menahan said he didn't have the authority to overrule the legislature and return Zephyr to the House floor.

His five-page ruling said the move "would require this court to interfere with legislative authority in a manner that exceeds this court’s authority."

SILENCED TRANSGENDER MONTANA LAWMAKER ZOOEY ZEPHYR VOWS TO KEEP FIGHTING FOR CONSTITUENTS

Zooey Zephyr holding a mic

State Rep. Zooey Zephyr, D-Missoula, stands in protest on the House floor as demonstrators are arrested in the House gallery on April 24, 2023, in the Montana State Capitol in Helena. (Thom Bridge / Independent Record via AP)

"It’s a really sad day for the country when the majority party can silence representation from the minority party whenever they take issue," Zephyr told The Associated Press.

Zephyr, a Democrat lawmaker who identifies as a transgender woman, made headlines after criticizing state colleagues who supported a bill that bans medical care for transitioning minors, saying they would have blood on their hands.

"The only thing I will say is, if you vote yes on this bill and yes on these amendments, I hope the next time there’s an invocation when you bow your heads in prayer, you see the blood on your hands," Zephyr said when debating SB99. 

Critics demanded an apology. However, after refusing to do so, Republicans led the chamber in a 68-32 vote last week to bar Zephyr from accessing the House floor. Zephyr cannot enter the anteroom or gallery but can vote remotely.

Lawyers for the state said court intervention on Zephyr's behalf would violate the separation of powers.

Trans lawmaker Montana

Law enforcement clears the Montana House of Representatives gallery during a protest after the speaker of the House refused to acknowledge Rep. Zooey Zephyr, D-Missoula, on April 24, 2023, at the state Capitol in Helena. (Thom Bridge / Independent Record via AP)

CLICK HERE TO GET THE FOX NEWS APP

"Today’s decision is a win for the rule of law and the separation of powers enshrined in our Constitution," Montana Attorney General Austin Knudsen said.

Zephyr's attorney, Alex Rate, said an appeal is being considered.

Fox News Digitals' Lawrence Richard and The Associated Press contributed to this report.