A court in Paris ruled on Thursday that energy company TotalEnergies must account for its consumers' greenhouse gas emissions, giving the French oil giant six months to report the environmental risks caused by the consumption of its gas and oil products.