French oil giant Total faces climate challenge in court