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.

Indian opposition youth wing protest against parliament expansion bills
Powerful storm hits Southern California, spawning widespread flash floods
Fires damage two mosques in Texas, sparking calls for investigation
Ecuador's Espinosa quits UN chief race
Indian parliament's lower house approves bill to expand legislatures
Israel's Eisenkot closer to ousting Netanyahu after striking coalition deals
North Korea's Kim Jong Un arrives in Beijing by armoured train for state visit
Houthis target gas station in Saudi Arabia's Khamis Mushait
