Opinion
The People petition for writ of mandate seeking review of an order of respondent superior court. The order upholds a magistrate’s ruling that certain business records and documents seized pursuant to a search warrant from real party in interest Chico Feminist Women’s Health Center (Center) must be returnеd to Center. We have stayed the magistrate’s order directing return of the records and documents. We now conclude that the writ should issue, although not for the reasons urged by the People.
In 1983 the State Employment Development Department (EDD) commenced an investigation of alleged violations of thе Unemployment Insur *651 anee Code by real parties in interest, Center and certain of its employees (collectively referred to as Center). A justice court judge, sitting as a magistrate, issued a search warrant authorizing seizure of certain records and documents in the possession of Center. The warrant was executed in February 1984 by officers of the sheriff’s department and EDD. Numerous records and documents were seized and turned over to the district attorney, but no action was taken to initiate a prosecution.
In July 1984, Center filed a motion seeking return of the property. A lengthy round of motions and hearings followed, which we need not detail here. After the records and documents had been in the possession of the district attorney for 13 months, the magistrate, in March 1985, ordered them returned to the custody of the court. More procedural manuevering ensued, and, in November 1985, the magistrate held the search and seizure illegal and directed the return of all records and documents to Center. In doing so, the magistrate ruled on only one of numerous Fourth Amendment and statutory issues raised by Center’s motion to return.
The People filed notice of appeal in respondent superior court. After concluding that the magistrate’s order was not re viewable by appeal, the People petitioned the superior court for a writ of mandate. The superior court stayed return of the records and documents to Center pending decision on the petition, and they remain in the custody of the magistrate to this day. After the issues were briеfed and argued, the superior court denied the petition solely on procedural grounds. The superior court reasoned that the magistrate’s order was not appealable; decisional authorities hold that when the Legislature has not vouchsafed to the People a right of appeal, this lacuna cannot be filled by resort to the extraordinary writ process; therefore the petition must be denied.
The superior court’s order denying the writ, made March 7, 1986, was stayed, first for 45 days, then until May 22, to give the People an opportunity to seek review here. On May 20, the instant petition was filed, and on May 22 this court issued its own stay, barring return of the documents, pending further order.
The instant petition asserts that the superior court erred in holding the People are not entitled to writ review, and that the superior court should have ruled on the merits of the challenge to the magistrate’s order to return the records and documents to Center. In addition the petition asks this court to hold that the magistrate erred in concluding the search was illegal.
Preliminarily, we note that the legality of the search is not ripe for review, since the superior court has not ruled on the issue. The only question before
*652
us is whether the superior court еrred in declining to consider the merits of the People ’ s petition. While we recognize that we have no authority to order the superior court to exercise its discretion in a particular way, when, as here, that court has erroneously refused to exercise its discretion at all, we may direct it tо do so.
(Burnett
v.
Superior Court
(1974)
The suрerior court and the parties have treated the proceedings before the magistrate as a motion for the return of property pursuant to Penal Code section 1540. This is an accurate characterization of the proceeding. Section 1540 provides: “If it appears that the рroperty taken is not the same as that described in the warrant, or that there is no probable cause for believing the existence of the grounds on which the warrant was issued, the magistrate must cause it to be restored to the person from whom it was taken.”
A number of cases, in various contexts, have established that section 1540 is intended to give the owner of seized property an avenue for challenging the legality of a seizure pursuant to warrant. (See, e.g.,
People
v.
Butler
(1966)
*653 Is the Magistrate’s Order Directing Return of the Documents Appealable?
In the superior court and here, Center has maintained, without citation to authority, that the People’s petition to the superior court should have been rejected becаuse the magistrate’s order was final, determined all the issues between the parties, and was therefore appealable. The superior court, relying primarily on
People
v.
Gershenhorn, supra,
225 Cal.App.2d at pages 125-126, and
Gershenhorn
v.
Superior Court
(1964)
Apart from the
Gershenhorn
principle, there is a more cogent reason why the magistrate’s order is not appealable to the superior court. The superior court’s appellate jurisdiction is conferred by statute and extends only to orders or judgments of an inferior court, i.e., a justice or municipal court. Orders of a judge issued while sitting as a magistrate are nоt orders of an inferior court. (See
People
v.
Peters
(1978)
Is the Order to Return Property Reviewable by Extraordinary Writ?
As explained, the superior court, after concluding that the People have no remedy by appeal, determined as a consequence that there can be no review by extraordinary writ proceedings. In so deciding, the court relied upon the line of cases holding that when the Legislature has not granted the People a right to appeal a lowеr court’s ruling or order, the People may not circumvent the implied denial of review by seeking a writ. The most frequently cited exposition of this principle is found in
People
v.
Superior Court (Howard)
(1968)
In Howard, the Supreme Court rebuffed an attempt by the People to obtain writ review of an order dismissing an information under Penal Code section 1385. The court noted that “The question is whether mandate should be available to secure a review when the Legislature has determined there should be no appeal. In such a case the petitioner has not an inadequate right of appeal, but no appeal at all. [11] The Legislature has determined that except under certain limited circumstances the People shall have no right of appeal in criminal cases. . . . [11] The restriction on the People’s right to appeal is not merely a procedural limitation allocating appellate review between direct appeals аnd extraordinary writs but is a substantive limitation on review of trial court determinations in criminal trials.” (Howard, supra, 69 Cal.2d at pp. 497-498.)
The
Howard
court reviewed several appellate court decisions which had permitted or denied writ review in various contexts, and recognized that there may be an exception to the general principle whеre the act of the lower court is in excess of jurisdiction and there is no “danger of further trial or retrial.”
(Id.,
at p. 501.) This “exception” has been recognized and
*655
applied in a number of later appellate decisions, frequently with inconsistent or contradictory results. (See discussion in
People
v.
Municipal Court (Kong)
(1981)
The parties here focus their arguments largely on the issue of whether the mаgistrate’s decision was in excess of jurisdiction, and therefore amenable to writ review under the exception recognized in Howard. However, in our view the overriding question is whether the principles enunciated in Howard are pertinent at all to the present dispute. We answer that question in the negative.
Howard is an application of the doctrine expressio unius est exclusio alterius. The anаlysis in that case is premised on the fact that Penal Code section 1238 (like § 1466) expressly specifies the orders, judgments, etc., from which the People may appeal. By plain implication, there is no right of appeal from those dispositions not mentioned. Howard completes the syllogism by holding the Peoрle cannot do indirectly, i.e., by writ, what they are not authorized by statute to do directly. The logic is indisputable insofar as it applies to orders of a trial court. However, where, as here, we are not concerned with an act by a “court,” Howard is simply not pertinent.
Penal Code sections 1238 and 1466 provide for appeаl from certain orders and judgments of trial courts, not magistrates. Since they don’t purport to deal with magistrates’ orders, their omission to deal with that subject carries with it no implication of nonreviewability. Thus, they cannot be read as implicitly denying the People a right of review of a magistrate’s order in the same way as they imply a denial of that right in respect to trial court dispositions which are not expressly mentioned.
Nor do we believe that the legislative silence concerning appealability of magistrates’ orders implies anything with respect to reviewability. A magistrate’s orders are ancillary to an ongoing criminal prosecution. Because they are subsumed within a criminal prosecution, nonappealability is a given, and an express blanket prohibition of appealability would be superfluous. The point is that Howard deals with final dispositions of a “court” some of which are statutorily appealable and some of which are not. No magistrate’s order is appealable in any event and therefore Howard is inapposite.
Since writ review of a magistrate’s order does not contravene an implicit legislative policy foreclosing review, is writ review permitted? We conclude that it is. Code of Civil Procedurе section 1085 provides mandate may be issued by a superior court to any “inferior tribunal.” A magistrate, while not an inferior court, is an inferior tribunal.
*656
We are satisfied that the result we reach is in harmony with the manifest legislative policy to afford review of final decisions relating to searches and seizures. One of the underlying motivations for the 1967 enactment of Penal Code section 1538.5 was to provide the prosecution with a right to review of pretrial suppression or return orders in criminal proceedings. (See
Moreno
v.
Superior Court
(1978)
Finally we reject Center’s argument that the time limits of Penal Code section 1538.5 should be applied here, and that the superior court properly denied the petition because it was not filed within 30 days after entry of the magistrate’s order. As previously noted, section 1538.5 is not, by its own terms, applicable here. The People’s petition was filed within the time permitted for appeals from a final judgment and was therefore timely. (See
Popelka, Allard, McCowan & Jones
v.
Superior Court
(1980)
Having complied with the procedures required by
Palma
v.
U.S. Industrial Fasteners, Inc.
(1984)
Blease, J., and Carr, J., concurred.
Notes
The existence of discrete statutory remedies available to defendants and non-defendants is reflected in amendments to Penal Code section 1539 by the same legislation which added section 1538.5. (Stats. 1967, ch. 1537.) A procedural section, amended section 1539 dis *653 tinguishes “a defendant” from “a person who is not a defendant in a criminal action at the time the hearing is held.” Section 1539 recognizes the standing of both defendants and nondefendants to attack the grounds on which a search warrant was issued.
