The court ruled that preventing the plaintiff (who is unnamed in the case) from having identification matching his gender identity is a breach of the country's constitution.
Though homosexuality is not per se illegal, homosexual acts can be punished by up to 7 years in prison, according to NBC News.