A new report suggests that some governments have ignored legal obligations to prevent climate harm for decades.