A California Court of Appeal reversed a $43 million judgment in a misclassification case, finding the trial court committed multiple prejudicial errors in handling class certification and trial procedures. The appellate court criticized the trial court's approach to representative testimony, affirmative defenses, and the appointment of a referee without party consent, while also addressing proper calculation methods for PAGA penalties in a related case.