French oil giant TotalEnergies has been found guilty of greenwashing after a Paris court on Thursday ruled it misled the public about plans to reach carbon neutrality by 2050.