French court mandates TotalEnergies to report emissions