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.

Hezbollah warns Israeli residents to evacuate towns near border
US House rejects war powers resolution, backs Trump on Iran war
GCC and EU ministers urge immediate halt to Iranian attacks
Trump wants say on Iran's next leader
US, Venezuela agree to re-establish diplomatic ties
British PM Starmer to send four Typhoon jets to Qatar
Arab Interior Ministers Council condemns Iranian attacks
Bombing of Tehran intensifies as war enters day six
