A landmark legal judgement on the climate impact of onshore oil has forced the UK’s first ever formal assessment of carbon emissions from burning hydrocarbons.