Disagreeing with People v. Flores (2022) 75 Cal.App.5th 495, the Court of Appeal holds that where SB 567’s amendments to PC 1170(b) are applied retroactively, a two-step prejudice test should apply. First, the reviewing court should assess whether the record establishes beyond a reasonable doubt all of the factors on which the trial court relied in imposing the upper term. Then, if the answer is no, the reviewing court should assess whether there is a reasonable probability the trial court would not have imposed the upper term had it known that it could not rely on some of the factors on which it relied.