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.

Shooting at Australia's Bondi Beach kills 12
Police hold person of interest after Brown University shooting leaves two dead
Hamas says Israel's killing of senior commander threatens ceasefire
Ukraine's Zelenskyy ditches NATO ambition ahead of peace talks
Thailand declares curfew along coast as Cambodia border fighting spreads
India tightens pollution curbs as Delhi's air quality worsens
'Peace is not far away' says Erdogan after Putin meeting
Belarus frees Nobel winner, protest figures as US lifts more sanctions
