An appeal shall not be taken from a judgment of the appellate division of a superior court granting or denying a petition for issuance of a writ of mandamus or prohibition directed to the superior court, or a judge thereof, in a limited civil case or a misdemeanor or infraction case. An appellate court may, in its discretion, upon petition for extraordinary writ, review the judgment.
Ca. Civ. Proc. Code § 904.3