Japan’s top court said on Wednesday that requiring transgender people to be sterilised in order to change their legal gender was unconstitutional.