I came across this today and it thoroughly shocked me. I doubt many people are actually aware of it. The four athletes (not Semenya, Niyonsaba or Wambui) were all competing in the women's category and all had the 46 XY DSD shared by the three athletes above.
"The International Association of Athletics Federations (IAAF) used decreases in the performance of athletes medically harmed because of its Regulations on gender to support its DSD Regulations. Four young athletes, who were 18, 20, 20 and 21, were told that they needed to lower their testosterone levels in order to compete at the London 2012 Olympics, and a gonadectomy (removal of internal testicles) would help them do that."
www.sportsintegrityinitiative.com/iaaf-used-medically-damaged-athletes-to-prop-up-dsd-regulations/
en.wikipedia.org/wiki/Annet_Negesa