French court grants Total 6 months to improve climate measures