Task: Text Categorization
Input (English): but to the extent the court of appeal's implication might be read to suggest that the magistrate's failure cannot deny a defendant a substantial right affecting the legality of the commitment even when the failure is prejudicial as well as erroneous, the appellate court's opinion is unsound under the analysis set out above and is hereby disapproved.
Output (English): overruling