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.

Kuwait, Bahrain respond to drone attacks after US-Iran clash
Israeli strike in Gaza kills seven, medics say
Kuwait reopens airspace after drone attacks
Israeli forces shoot dead Palestinian baby, wound his parents in West Bank
'Cockroach' youth group founder leads first street protest after arrival in India
Israeli strike kills three Lebanese soldiers, military probes incident
North Korea to build 10,000-ton destroyer, state media says before Xi visit
Russia says Ukrainian drone hit engineers around Zaporizhzhia nuclear plant
