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.

Lebanese govt must fulfill commitment to disarm Hezbollah, says Israeli DM
Kenya landslide death toll rises to 22
Fire at store in northwestern Mexico leaves at least 23 dead
Ukrainian drone strike hits key Russian oil port
UK train stabbings injure ten, police arrest two suspects
Tanzania's Hassan declared landslide winner in election marred by violence
Vietnam's ancient town Hoi An works to restore tourism after devastating floods
Indian temple stampede kills nine, injures several
