Quebec's Court of Appeal has upheld a 2022 ruling finding CP Rail did not have legal liability for the Lac-Mégantic disaster.