Transgender marriage laws

What are the current laws in relation to marriage involving a transgender person in Australia?

With all the talk of gay marriage law reform recently, most would be aware that the current definition in Australian law is that marriage…