Francesca Albanese, the United Nations special rapporteur on the Israeli-occupied Palestinian territory, left Costa Rica’s Juan Santamaria airport on Saturday after being denied entry and spending a second night there. “I’m outside the airport. Finally. Thank you to everyone who helped me,” she wrote on X at about 07:00 GMT.

Earlier, at about 04:00 GMT, Albanese said the country’s Constitutional Court had ordered her “be let out to go to a hotel and rest and the immigration police does not let me”. She added: “Am I detained? HELP?” She also said Air France staff were “actively ignoring” the ruling and that she had been awake for more than 50 hours.

The Constitutional Chamber of Costa Rica’s Supreme Court confirmed late on Friday that Albanese’s destination would be Mexico, issuing a second interim order directing that she be transferred to a hotel, according to AFP. Albanese had previously told local media she intended to travel to Mexico, but said immigration authorities told her she needed to return to France, a proposal she objected to.

Albanese said authorities took her passport and offered her a detention room to sleep in. The UN Human Rights Office said on X that she was denied entry on “claimed national security grounds”. Costa Rica’s government said she was the subject of an “international alert over links to terrorist acts”.

UN human rights chief Volker Turk said on Friday he was “deeply concerned” by Costa Rica’s decision and urged authorities to reconsider. Albanese had described the airport conditions as uncomfortable and said she was “counting the hours till my flight tomorrow”, without specifying her destination in that post.

The Italian Ministry of Foreign Affairs said on Friday that the Italian Embassy in Costa Rica was providing consular assistance. The Italian ambassador contacted Albanese and sent a consular official to the airport, the ministry said. Italian officials repeatedly urged Costa Rican authorities to allow her entry, but Albanese remained in the airport’s international transit area and had not formally entered the country, it added.

Albanese travelled to Costa Rica to receive an honorary doctorate from the state-run University of Costa Rica. A UN special rapporteur is an independent expert appointed by the UN Human Rights Council to investigate and report on rights abuses in a specific country.

Albanese, who has been sanctioned by the US under measures related to the International Criminal Court, said she hoped Costa Rica would reverse its decision and rejected what she described as efforts to link her to “terrorism”. She has become one of the most outspoken international critics of Israel’s conduct in Gaza and a frequent target of pro-Israel officials and governments. Israel’s UN ambassador, Danny Danon, praised Costa Rica’s decision in a post on X.