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.

Russia, Ukraine exchange attacks on capitals as US envoys land in Moscow
Building collapse in Brooklyn kills at least 2, injures more than 10
Israeli strike on southern Gaza hospital kills six
Saudi Arabia says debris from intercepted Houthi missiles falls in Mecca region
Climate crisis is 'outrunning us', UN chief warns COP31