As government climate plan ruled unlawful, Tories hand out fossil fuel bonanza