Spain will now play host to a series of United Nations climate talks in December.
It comes after original hosts Chile pulled out following anti-government protests in the country.
However the last minute change in venue is proving to be a logistical challenge.
Spanish visas and accommodation also have to be issued for the 25,000 people who are expected to attend the event.
It's also left 16-year-old environment activist Greta Thunberg stuck on the wrong continent.

UN establishes task force to address Hormuz navigation challenges
Bahrain contain fire at 'facility' after Iran attack
Rubio says Iran war to last 'weeks not months'; no ground troops needed
NASA's Artemis astronauts enter final preparations for Moon mission
Iran-linked hackers breach FBI director's personal email
Trump extends deadline for striking Iran's energy plants to April 7
Israeli evacuation orders uproot 370,000 children in Lebanon, UN says
UN rights chief urges US to conclude probe into deadly Iran school strike
