energy sector legacy debts