The UK's climate policy was mired in doubt in the wake of the monumental vote to leave the European Union.