Energy companies must fulfil their environmental obligations before paying back creditors in the case of insolvency or bankruptcy, Canada's Supreme …