PARIS >> The International Gymnastics Federation restored Romanian gymnast Ana Barbosu to third in the Paris Olympicswomen’s floor exercise final Saturday, potentially forcing American gymnast Jordan Chiles to return the bronze she won in the event.

It’s unclear whether Chiles will be compelled to send back medal. The federation, known as FIG, said while it has restored the initial order of finish — with Barbosu third, Romanian teammate Sabrina Maneca-Voinea fourth and Chiles fifth — the allocation of medals was up to the International Olympic Committee.

FIG made the decision not long after the Court of Arbitration for Sport voided an appeal from Team USA coach Cecile Landi during the competition that had vaulted Chiles onto the podium.

CAS ruled Saturday that the on-floor appeal Monday by Landi to have .1 added to Chiles’ score came outside the 1-minute window allowed by the FIG. The ad hoc committee wrote that Landi’s appeal came 1 minute, 4 seconds after the score was posted.

CAS wrote that the initial finishing order should be restored. The organization added the FIG should determine the final ranking “in accordance with the above decision,” but left it to FIG to decide who would get the medal behind gold winner Rebeca Andrade of Brazil and silver medalist Simone Biles of the U.S.

FIG spokesperson Meike Behrensen said in an email to The Associated Press that “Reallocation of medals is the responsibility of the IOC.”

At the Olympics, the governing body of each sport manages the competition and decides the results. The IOC typically accepts that result — once appeals to CAS are completed — and formally awards the medals. It’s unclear if the IOC or FIG would ask Chiles to return her medal. The gymnast is already back in the United States.

The IOC did not immediately respond to a request for comment.

Chiles hinted at the decision in an Instagram story on Saturday, indicating she is heartbroken and is “taking this time and removing myself from social media for my mental health, thank you.”

USA Gymnastics said in a statement it is “devastated” by the ruling.

“The inquiry into the Difficulty Value of Jordan Chiles’ floor exercise routine was filed in good faith and, we believed, in accordance with FIG rules to ensure accurate scoring,” the organization wrote.