In Malta, I could not marry anyone, as I would be considered neither M nor F. Note also that although I am married - to another woman - this counts as a legally meaningless "same sex partnership for such matters as inheritance, superannuation, social security, etc.