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.

Trump links Greenland threat to Nobel Peace Prize snub, EU prepares to retaliate
Israel orders Gaza families to move in first forced evacuation since ceasefire
Rescue workers clearing Karachi inferno ruins, 63 missing feared dead
Blast kills seven at Chinese-run restaurant in Afghan capital
Russia hits Kyiv with drones and missiles, cutting power, water supplies
