In a landmark ruling the court says it is unconstitutional to require a trans person to undergo surgery.