Japan’s top court will decide Wednesday on the legality of requiring transgender people to be sterilised in order to change their legal gender.