"Pregnant Man" Thomas Beatie is PISSED after a judge refused to grant him a divorce from his estranged wife -- and tells TMZ he's willing to take the fight all the way to the Supreme Court.
Beatie, a transgender male, is appealing a decision handed down Friday ... when a judge in AZ denied his divorce from Nancy Beatie -- on the grounds the marriage was NEVER legal since Beatie couldn't prove he was a man during their nuptials ... and the state doesn't recognize same-sex marriage.
Beatie tells TMZ he's not giving up the fight, his attorneys are already drafting up the appeal -- and he'll go the Supreme Court if that's what it takes.
He explains, "This is personal. This ruling is an attack on my person, my identity, and my family. It's sad and embarrassing that Judge Gerlach is more focused on wanting to delegitimize my children than legitimize my family."
Beatie continues, "The judge is obviously uncomfortable with me. He has a problem with me having a legal male identity and using my internal organs to start a family."
You'll recall ... the judge made it clear from the beginning, he had issues with the validity of Beatie's marriage based on the fact that while married he bore the couple's 3 children ... something no man could do.
But Beatie is adamant, the issue is MUCH bigger than his divorce ... "This is not Beatie versus Beatie. This is the State of AZ versus transgender people, human reproductive rights, and fairness under the law."
FYI -- Beatie was born a woman, but began a sex change in 1997. He married Nancy in 2003 in Hawaii. He filed for divorce in April 2012, claiming Nancy was abusive. Allegations she denied.