The IOC has decided to bar transgender athletes from women’s Olympic events and will introduce a one-time gender test starting in 2028.