Your statement about the Olympics and "testosterone treatments" isn't true.
Under the rules adopted by the IOC in late 2015 and the IAAF/WA shortly after, males who declared they had a "female gender identity" could compete in women's elite events if they reduced their testosterone to 10 nmol/L for 12 months beforehand.
(For comparison, the standards the IAAF/WA uses put the normal range for T in adult males is 7.7-29.4 nmol/L; for females, normal T range is 0.2-1.68 nmol/L.)
In October 2019 following the resolution of litigation in the Caster Semenya case, the IAAF/WA tightened the rules for normally-developed males with testes still intact who claim to have a "female gender identity." From then on, such athletes would have to lower their T to below 5 nmol/L for 12 months before obtaining eligibility to compete in women's events.
5 nmol/L for 12 months was the eligibility standard that tripped up USA-based hurdler CeCe Telfer in 2020-21. Telfer, who in 2019 won a NCAA Div II national women's title, had hoped to gain a spot on the USA women's team selected for the Tokyo Olympics. But the USATF declared Telfer ineligible for the trials for not being in compliance with WA's testosterone rules for trans-identified male athletes in women's competition that were in place at the time.
In March of 2023, WA tightened the rules furthe. Undert the new rules, the only males who can seek eligibility for elite female athletics competition under WA's governance are those who are able to provide documention that they've never had T levels of 2.5 nmol/L or above since age 12 or Tanner Stage 2 of development, whichever came first.
At no time that I am aware of has either the IAAF/WA or IOC had a rule in place saying males with trans gender identities and their testicles still intact could compete in women's elite events after "at least 2 years of testosterone treatments."
Under earlier rules put in place in 2003, male athletes claiming a "female gender identity" could only compete in women's elite athletics and other Olympic sports if they had undergone so-called "sex reassignment surgery" that involved the total removal of their testicles, followed by at least two years of "hormone therapy," meaning exogenous estrogen (or estrogen plus progesterone).
The only athletes with intact testes that pump out male-typical amounts of testosterone who have to, or ever have had to, take "testosterone treatments" to suppress their gonadal activity and thus T levels for 24 months before competing in women's elite track & field events per WA rules are XY DSD athletes with a handful of conditions affecting male sex development like Caster Semenya, Francine Niyonsaba and Christine Mboma.
Moreover, WA's requirement that XY DSD athletes with specific conditions named in its regulations must suppress their T to below 2.5 nmol/L for 24 months in order to compete in women's elite athletics is brand new as of the end of March 2023.
In the past when XY DSD athletes in track & field were required to suppress their T to compete in the women's category, they only had to lower their T to below 10 nmol/L prior to Oct 2019, and to below 5 nmol/L after that date. XY DSD athletes only had to do this for 12 months, or in some cases for only 6 momths, too.