France has left a controversial energy charter treaty that allowed fossil fuel firms to sue the government. EU has proposed the modernisation of the treaty.