In a rare move, a US court has granted a marriage license to a man claiming he is a gay man.
The case began in August after a court in California found a husband, Josh Deutsch, had not shown sufficient proof of his identity as a man to be allowed to marry.
Josh Deans claim is based on the Christian belief that a man and a woman are made in the image of God and that gay people are created in the wrong body.
Mr Deutsch’s lawyer, Kevin Rheingold, said he would appeal the decision.
“It’s about as far from Christian doctrine as you can get in the United States of America,” Mr Rheingsold said.
The couple, who live in Texas, had hoped to wed in a church, but when it became clear that the court did not rule on their case, they applied for a marriage licence through the California Department of Motor Vehicles.
A spokesman for the DMV said the agency could not confirm whether Mr Deans identity was the basis for the request.
The ruling on Thursday said: “Because of the nature of the proposed union, the state cannot establish the relationship of marriage or recognize the legitimacy of the relationship as being valid.”
A man and woman married in California have been granted a divorce after the state denied their marriage licence.
“This case has the potential to affect the future of thousands of same-sex couples across the country, and we urge all of our state partners to continue to work together to ensure equal rights for all Californians,” California Attorney General Xavier Becerra said in a statement.
“I applaud the Department of State for recognizing this important, historic moment and I urge all our states to follow suit.”
The marriage licence was issued after Mr Debs court victory, which had been brought by two lesbian couples.
Mr Rhesold said that if the couple had asked for a divorce the decision would have been different.
“The only way this could have happened would have just been for the courts to find that the marriage was not valid and that it was a sham,” Mr Reingold said, adding that they believed that Josh Debs was not the father of the child they had hoped for.
“He’s not the biological father.
I think he’s the best man for the job,” Mr Deberts mother, Julie Deutsch said.
“And I think that’s all I’ve asked for in the whole thing.
I’ve never asked for anything more.”