The UK Labour government is under pressure to reaffirm its commitment to the energy transition after a judge ruled permissions for controversial oi land gas fields are to be scrapped.