The Balearic islands’ government has launched a pioneering plan to phase out greenhouse gas emissions by 2050, potentially setting itself on a collision course with the Spanish government.