A loophole in the 2015 Paris accord has allowed countries to say they are making climate progress while also exporting fossil fuels at breakneck pace.