A federal judge ordered the state of Tennessee on Friday to recognize the marriages of three same-sex couples performed in other states while their lawsuit works its way through the courts.

U.S. District Judge Aleta Trauger issued the preliminary injunction barring the state from enforcing laws prohibiting recognition of their marriages.

In her written memorandum, Trauger makes clear that her order is only temporary and only applies to the three same-sex couples. A preliminary injunction can only be granted in cases the judge thinks the plaintiff is likely to win.

“It’s the first nail in the coffin of discriminating against same-sex married couples in Tennessee,” said Abby Rubenfeld, one of the attorneys for the same-sex couples. “Every single court that has considered these same issues has ruled the same way.”

A spokesman for Tennessee Gov. Bill Haslam said in an email that Trauger’s decision is still being reviewed by officials.

“The governor is disappointed that the court has stepped in when Tennesseans have voted clearly on this issue,” David Smith said. “Beyond that, it’s inappropriate to comment due to the continuing litigation.”

In Tennessee, marriage between partners of the same gender is prohibited by state law and by a constitutional amendment approved in 2006.

The three same-sex couples were legally married in other states. Their lawsuit did not challenge laws barring same-sex marriage in Tennessee, only those that do not recognize such marriages that took place in other states.

Trauger found that the plaintiffs were likely to prevail and that they are suffering irreparable harm because of the state’s refusal to recognize their marriages. She noted numerous rulings around the country that have struck down bans against same-sex marriage or a state’s refusal to recognize the marriages.

One of the attorneys in the case, Regina Lambert, said she had just gotten off the phone with plaintiff Valeria Tanco, who is married to Sophy Jesty.

“She’s about to give birth at any moment and her mother is on the way from Argentina,” Lambert said. “I told her, ‘Your mother will be here, and your wife will be your wife, and your daughter will have two parents.’ She was just crying on the phone with such joy.”

Tanco and Jesty got married in New York in 2011 and now live in Knoxville, where they teach at the University of Tennessee College of Veterinary Medicine.

The head of a conservative organization that intervened in the lawsuit said Trauger’s decision thwarts the will of 80 percent of Tennesseans who voted to support a state constitutional amendment banning same-sex marriage.

“While today’s decision by federal Judge Trauger is not a final ruling, she has clearly signaled her intent to continue the war by unelected federal judges against the rights of states and the citizens of that state to determine what its policies regarding marriage should be,” David Fowler, president of the Family Action Council of Tennessee said in a statement.

“If Judge Trauger continues on her present course and strikes down our marriage law, we trust that our state’s attorney general will pursue an immediate appeal.”