The former prime minister set the UK’s legally binding net zero emissions target by 2050 during her time in No 10.