Japan's top court has ruled that requiring people to undergo sterilization surgery if they want to legally change their gender is unconstitutional. The decision was welcomed by rights groups who had said the requirement was discriminatory and infringed upon human rights.