The European Court of Human Rights has ruled in favour of double 800m Olympic champion Caster Semenya in a case involving testosterone levels in female athletes.
The 32-year-old South African was born with differences of sexual development (DSD) and is not allowed to compete in events between 400m and a mile without taking testosterone-reducing drugs.
Semenya has been in a long-running dispute with governing body World Athletics since regulations requiring her to take hormone treatment to decrease her natural testosterone levels were introduced in 2018.
She has twice failed in legal battles to overturn the decision.
The case at the ECHR was against the government of Switzerland for not protecting her rights and dates back to a Swiss Supreme Court ruling three years ago.
In the lengthy judgement published on Tuesday, the ECHR found the Swiss government did not protect Semenya from being discriminated against when its Supreme Court refused to overturn a decision by the Court of Arbitration for Sport (Cas) which upheld World Athletics rules governing the participation of athletes with DSD.
Semenya argued that taking testosterone-reducing medication could endanger her health and that the ruling denied her and other athletes with DSD the right to rely on their natural abilities.
Because of the ruling, the three-time 800m world champion could not defend her 800m title at the delayed Tokyo Olympics, which took place a year later than planned in 2021.