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.

Russian attack on Ukraine's Dymer in Kyiv region kills 11, official says
India announces $1.62 billion package for flood-hit Nepal
Schools across Germany, Denmark receive bomb threats
India finds sample of popular Bisleri water unsafe, to widen checks to all brands
South Korea's education minister quits over exam cheating chaos
COP31 climate talks break down as EU, others reject deal
Indonesia factory fire search to resume Monday as 24 body bags recovered
Libya suspects drone attack caused Benghazi ship explosion
