Caster Semenya was invited on Friday to run in an 800-meter race in Morocco on Sunday — after previously saying she had been denied the right to participate in the event — but the invitation came too late for her to get there, her agent said.

Double Olympic champion Semenya said on Thursday she had been denied entry into the event in Rabat in apparent violation of a ruling from Switzerland's high court that has temporarily lifted regulations that would require her to take medication to lower her testosterone levels in order to be allowed to race certain distances.

Speaking to Reuters by phone on Friday, her agent Jukka Harkonen said the lateness of the invitation made it impossible for Semenya to travel to Rabat in time for the race, because it was a journey of more than 20 hours from her home country South Africa.

"She's not running," he said. "She was invited today but that was too late."

Semenya became the center of heated international debate after a controversial ruling by the Court of Arbitration for Sport.

The CAS ruled that IAAF regulations to limit naturally-occurring testosterone in female athletes with differences in sexual development, such as Semenya, were needed to ensure fair competition between runners in events ranging from 400 meters to a mile.

The Swiss Federal Tribunal later ordered the IAAF, track and field's global governing body, to immediately suspend implementation of the regulations on Semenya, allowing her to compete without restriction, while she appealed against the decision.