You'd think that the Court of Appeal wouldn't have to remind a trial court that before you impose sanctions, you have to (1) provide at least some notice, and (2) have the sanctions supported by the record.
But apparently a reminder is indeed necessary.