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 condemns, won't apologise for video with racist clip on Obamas
Search for Nancy Guthrie, missing 6 days from Arizona home, turns to new message
WHO says one person dead from Nipah virus in Bangladesh
Explosion at mosque in Pakistan's capital kills 31
Hong Kong media tycoon Jimmy Lai to be sentenced on February 9
More storms coming as Leonardo swells rivers in Spain and Portugal
Danone recalls more infant formula in Europe
UN chief calls New START treaty expiration 'grave moment'
