A dispute arose between Michel Kraike, an artist, and petitioners, who are executors of the estate of F. W. Vincent, deceased, an employment agent, over commissions claimed to be due under a written agency contract. The dispute was submitted to the Labor Commissioner for settlement, and after a hearing the petitioners were awarded the sum of $500. Kraike did not seek a hearing de novo in the superior court, as allowed by section 1647 of the Labor Code, * and after the 10 days in which he could have sought such a hearing had passed, petitioners moved the superior court under section 1287 of the Code of Civil Procedure ** for an order confirming the commissioner’s award. The court denied the motion on the ground that the provisions of section 1287 of the Code of Civil Procedure authorizing judicial confirmation of the awards of arbitrators cannot be applied to an award of the Labor Commissioner and that the only remedy available to *382 petitioners was an independent action on the award as an obligation created by law. This proceeding in mandate was then brought to compel the trial court “to take jurisdiction of the motion for an order confirming the commissioner’s award and to render a judgment thereon either confirming, modifying, correcting or vacating the award. ’ ’
In considering the availability of the writ the first question to be determined is whether petitioners had another plain, speedy, and adequate remedy at law. (Code Civ. Proc., § 1086.) The appealability of an order denying a motion for confirmation of an award is not clearly established by the relevant statutes or by the decisions construing them. Section 963 of the Code of Civil Procedure provides that an appeal may be taken from a final judgment entered in a special proceeding, but it has been held that the application of this section is restricted by section 1293 of the Code of Civil Procedure which provides that “an appeal may be taken from an order confirming, modifying, correcting or vacating an award, or from a judgment entered upon an award, as from an order or judgment in an action.’’
(Jardine-Matheson Co., Ltd.
v.
Pacific O. Co.,
Although an order denying a motion for confirmation is not expressly enumerated therein, section 1293 has been liberally construed to allow an appeal from an order made after completion of arbitration which in effect dismisses the proceeding before the court. (See
Pleaters etc. Assn.
v.
Superior Court,
In the present case the order was made after completion of the proceedings before the commissioner, and in effect constituted a dismissal of the application for confirmation of *383 the award. Under the liberal construction which has been given section 1293, the order denying the motion to confirm the award, while not a decision on the merits, may be treated, for purposes of appeal, as being equivalent to an order vacating the award, and it is therefore appealable. However, in view of the uncertainty which has existed heretofore with respect to appealability of orders of this type, we should not refuse to allow the writ to be used to test the issue before us solely because we have now resolved that uncertainty by holding that petitioners had an adequate remedy by appeal from the order in question.
The next question to be considered is whether the trial court has failed or refused to perform a duty which may be enforced by mandate. It is clear from the record that the motion for an order confirming the award was denied on the sole ground of lack of jurisdiction and that the trial court did not determine the merits of the application. The law is well settled that a trial court is under a duty to hear and determine the merits of all matters properly before it which are within its jurisdiction and that mandate may be used to compel the performance of this duty. This is so even where the trial court’s refusal to pass on the merits is based on the considered but erroneous belief that it has no jurisdiction as a matter of law to grant the relief requested. As stated in
Temple
v.
Superior Court,
The case of
Brook
v.
Superior Court,
If, by the statement that there was no “refusal to act upon the merits,” the Brock case means that the trial court did not refuse to pass upon and determine its own jurisdiction, then the opinion incorrectly uses the term “merits.” It is well settled that a dismissal of a proceeding or a denial of relief on the sole ground of lack of jurisdiction is not a decision on the merits. (See
Hogeberg
v.
Industrial Aco. Com.,
In
Sampsell
v.
Superior Court,
In refusing to permit mandate to be used to test the jurisdictional question, the Brock case is in conflict with the long line of decisions beginning with
Temple
v.
Superior Court,
The Brock case was followed in
Hayward
v.
Superior Court,
The case of
Lincoln
v.
Superior Court,
The cases of
Brock
v.
Superior Court,
As before stated, the motion for an order confirming the award of the Labor Commissioner was denied on the sole ground of lack of jurisdiction, and petitioners are, therefore, entitled to mandate if respondent court had jurisdiction to entertain and determine their motion.
It is contended that section 1287 of the Code of Civil Procedure providing for judicial confirmation of the awards of arbitrators has no application to awards of the Labor Commissioner and accordingly that the trial court was without jurisdiction to entertain the motion for an order confirming the award here involved. Although the Labor Commissioner is not expressly mentioned in sections 1280 to 1293 of the Code of Civil Procedure relating to arbitration, the provisions therein apply to written agreements to submit controversies to arbitrators for settlement, and there appears to be no good reason why the method of obtaining judicial confirmation of awards provided for in section 1287 should not apply to awards made by the Labor Commissioner. Under the Labor Code, a contract between an employment agency and an applicant for employment may provide for reference of controversies arising thereunder either to the Labor Commissioner (Lab. Code, §§ 1626, 1647) or to private arbitration (Lab. Code, § 1647.5). In the settlement of disputes submitted to him, the Labor Commissioner acts as an arbitrator, and the powers he exercises are similar to those which may be conferred on private arbitrators pursuant to section 1647.5. (See
Garson
v.
Division of Labor Law Enforcement,
Under the Code of Civil Procedure parties may agree to name a single arbitrator, and there is no restriction as to what persons may act in that capacity. (Code Civ. Proc., §§ 1283, 1286.) The sole requirement for a valid and enforceable arbitration agreement is that it must be in writing and must not apply to disputes arising out of contracts “pertaining to labor.” (Code Civ. Proc., §1280.) A contract between an artist and an employment agency is not a contract pertaining to labor within the inhibition of section 1280. (See
Kerr
v.
Nelson,
The fact that the Labor Code provides that a party-aggrieved by the commissioner’s decision may obtain a complete new hearing in the superior court (Lab. Code, § 1647) affords no reason why the party prevailing before the commissioner should not be able to get judicial confirmation of the award under section 1287 of the Code of Civil Procedure, if the other party does not take advantage of the de novo procedure. Nor should the fact that the successful party may bring an independent action at law to enforce the award deprive him of the more expeditious procedure provided by statute. There appears to be no justification for saying that the awards of the Labor Commissioner are not entitled to as speedy and summary method of enforcement as those of private arbitrators if no de novo hearing has been sought. Moreover, such a speedy method of enforcement of awards might assist the Labor Commissioner in curtailing undesirable activities of employment agencies under his supervision.
We find nothing in the statutes which shows that the Legislature intended that the Labor Commissioner’s awards should not be enforceable under Code of Civil Procedure section 1287, in the same manner as awards of private arbitrators. It is true that the arbitration sections of the Code of Civil Procedure are expressly made applicable by Labor Code section 1647.5 if the parties agree to private arbitration, and no similar provision is made where the dispute is referred to the Labor Commissioner. However, Labor Code section 1647.5 was added in 1939, two years after the decision in
Collier & Wallis, Ltd.
v.
Astor,
Accordingly section 1287 of the Code of Civil Procedure may properly be applied to awards of the Labor Commissioner if no hearing de novo has been sought, and respondent court had jurisdiction to hear and determine petitioners’ motion for an order confirming the award.
Let the writ issue as prayed.
Shenk, J., Edmonds, J., Carter, J., Traynor, J., and Spence, J., concurred. Sehauer, J., concurred in the judgment.
Notes
“§ 1647. In all eases of controversy arising under this chapter the parties involved shall refer the matters in dispute to the Labor Commissioner, who shall hear and determine the same, subject to appeal within ten days after determination, to the superior court where the same shall be heard de novo. To stay any award for money, the party aggrieved shall execute a bond approved by the superior court in a sum not exceeding twice the amount of the judgment. In all other cases the bond shall be in a sum of not less than one thousand dollars and approved by the superior court. " (Italics added.)
“$ 1287. At any time within three months after the award is made, unless the parties shall extend said time in writing, which award must be in writing and acknowledged or proved in like manner as a deed for the conveyance of real estate, and delivered to one of the parties or his attorney, any party to the arbitration may apply to the superior court of the county or city and county in which said arbitration was had for an order confirming the award; and thereupon said court must grant such an order unless the award is vacated, modified or corrected, as prescribed in the next two sections. Notice in writing of the motion must be served upon the adverse party or his attorney five days before the hearing thereof. "
