Opinion
—The Governing Board of the Simi Valley Unified School District appeals an order striking its claim for costs and attorneys’ fees. We reverse the judgment.
Appellant Governing Board of the Simi Valley Union School District (District) and respondents California Teachers Association and Simi Educators Association (the Associations) entered into a “Contract of Agreement 1979-80” (Contract) in 1979 establishing the terms and conditions of employment of certificated employees by the District. Certificated employees of the District are not required to join the Associations. However, because they benefit from the Associations’ activities on behalf of members, nonmember employees are required to pay a “service fee” to the Associations.
In late 1979, a dispute arose between the Associations and the District because certain nonmember employees had not paid the service fee. The Associations requested that the District either (1) compel the nonmember employees to comply or (2) terminate them if they did not do so pursuant to the “Organizational Security” provision in the Contract: “In the event an employee within the unit does not submit to the District a Dues Deduction Form, or a Service Fee Deduction Form or a Religious Conviction Form, within 30 days from the signing of this contract or employment with the District, the Association is authorized to request Board action to initiate termination proceedings of such employee in accordance with this agreement, recognizing the failure of such employee to comply with this provision shall be reasonable cause for discharge.”
The District refused to terminate the nonmember employees, and requested the Associations to initiate proceedings pursuant to the Contract’s “Grievance” provisions. Apparently, the parties could not resolve their dispute in that manner either. The Associations then requested that the Dis *397 trict enter into arbitration, also pursuant to the Contract. When the District would not agree, the Associations sought relief in the superior court.
The Associations filed a “Petition for Writ of Mandate” seeking, in the alternative, (1) an order compelling the District to commence arbitration pursuant to the Contract’s arbitration clause regarding whether it had breached the Contract by refusing to terminate the challenged employees; (2) an order directing the District to compel those employees to pay the fees and to indemnify the Associations in any action they may take directly against the employees; (3) attorneys’ fees and costs pursuant to Government Code section 800. 1
The court issued an alternative writ, directing the District to commence arbitration or to take action to compel the payment of service fees to the Associations. The alternative writ also provided that the District indemnify the Associations as requested and awarded $1,500 attorneys’ fees to the Associations. However, the order for peremptory writ vacated the indemnity order and the attorneys fee award. The Associations were awarded costs, which the District paid.
The parties then commenced arbitration. We do not have before us the record of that proceeding. However, we may safely assume that it did not go very well; the parties found themselves back in superior court when the Associations failed to comply with a request by the District to produce certain financial documents.
The court ordered the Associations to produce the requested documents or suffer dismissal of the arbitration proceeding. Still, the Associations failed to comply and, on June 9, 1983, the court granted the District’s motion and dismissed the arbitration proceeding and the writ proceeding with prejudice. The District filed a memorandum requesting costs and attorneys’ fees pursuant to an indemnity clause in the Contract. The Associations responded with a motion to amend the judgment nunc pro tunc to reflect that only the proceeding before the arbitrator, and not the mandate action, was dismissed. The court granted the Associations’ motion and struck the District’s cost bill as premature.
The District then moved to dismiss the mandate proceeding. The Associations replied that the court had no jurisdiction to do so. The court ordered *398 the action dismissed with prejudice; the judgment expressly stated that it was entered on the merits pursuant to Code of Civil Procedure section 582. 2
The Associations then filed a memorandum of costs; the District filed for costs and disbursements also, requesting attorneys’ fees pursuant to the indemnity clause. On cross-motions to tax costs, the court struck all fees and costs and amended its judgment nunc pro tunc to delete the reference to section 582. The District appeals the striking of its costs and fees.
The Associations seek to avoid an award of attorneys’ fees and costs against them by distinguishing their “mandate” (§ 1085) proceedings from a “petition to compel arbitration” pursuant to a contractual provision (§ 1280 et seq.). They correctly note that the “legal consequences of this distinction are critical on this appeal.”
The Associations argue that the superior court lost jurisdiction in May of 1980 when the writ of mandate issued. At that point, the Associations contend, the “judgment” was entered and they were the prevailing party because the court granted their request and ordered the District to commence arbitration. We disagree.
This case involves the parties’ contractual agreement to arbitrate their disputes. For the reasons outlined herein we hold that mandate is not an appropriate vehicle by which to enforce that agreement. The issue is one of first impression. 3
In some instances, the label attached to the remedy which a party requests does not affect the outcome of the litigation; the court may fashion the appropriate remedy in any event. See e.g.,
Neal
v.
State of California
(1960)
A writ of mandamus will lie when there is no plain, speedy and adequate, alternative remedy “to compel the performance of an act which the law specifically enjoins . . .” (§ 1085;
Payne
v.
Superior Court
(1976)
The statutory scheme outlined in section 1280 et seq., contemplates the court’s continuing involvement in the arbitration process. “ ‘The proceeding to compel arbitration [§ 1281.2] is in essence a suit in equity to compel specific performance of a contract.’”
(La Pietra
v.
Freed
(1978)
The underlying action is stayed once arbitration begins (§ 1281.4). However, the court retains jurisdiction over the matter (§ 1292.6) and there are several specific instances in which that jurisdiction might be exercised. In contract actions, for example, if the parties’ agreement does not grant the arbitrator general law discovery powers, the court must intervene. (§§ 1283.1, 1283.05, 2019, subd. (b)(1).) This court has also held that a court which has ordered arbitration retains “the power on the one hand to entertain a petition by the plaintiff for judicial assistance in moving the arbitration forward where the matter is foundering for reasons beyond plaintiffs’ control, or on the other hand, to entertain a motion by defendants to dismiss the arbitration where plaintiffs have failed to exercise reasonable diligence in moving the dispute to a conclusion.”
(Preston
v.
Kaiser Foundation Hospitals
(1981)
None of this could occur if a party could utilize mandate to compel the performance of an agreement to arbitrate. A petition for writ of mandate is a special proceeding and terminates by judgment when the writ is
*400
sues.
(Hadley
v.
Superior Court
(1972)
Viewed as a petition to compel arbitration pursuant to section 1281.2, as opposed to a writ of mandate, the order compelling the District to commence arbitration was not a final determination of the rights of the parties.
(La Pietra
v.
Freed, supra,
The trial court’s order striking its reference to section 582 in the judgment does nothing to change the legal effect of the dismissal. “[T]he persistent refusal of a party to make discovery results in a presumption, as a matter of law, that the asserted causes of action are without merit.”
(Kahn
v.
Kahn
(1977)
The District is not entitled to an award of costs incurred in the arbitration proceeding, however, because they expressly agreed to bear those costs themselves. The Contract contains the following clause: “All costs for the services of the arbitrator . . . shall be borne equally by the District and the Association. All other costs shall be borne by the party incurring them. ...” (§ 1284.2;
Dickinson
v.
Kaiser Foundation Hospitals
(1980)
The District’s agreement to bear its “costs” in the arbitration proceedings does not, as the Associations contend, constitute an agreement to bear its attorneys’ fees as well. (§ 1284.2;
Citizens Suburban Co.
v.
Rosemont Dev. Co.
(1966)
The District relies on
Jen-Mar Constr. Co.
v.
Brown
(1967)
The judgment is reversed. The matter is remanded to the trial court for a determination of costs and attorneys’ fees in the District’s favor consistent with the views expressed herein.
A petition for a rehearing was denied November 27, 1984, and respondents’ petition for a hearing by the Supreme Court was denied January 24, 1985. Bird, C. J., was of the opinion that the petition should be granted.
Notes
Government Code section 800 allows the award of attorneys fees not to exceed $1,500 to a party who prevails in an action to review the determination of any administrative proceeding where it is shown that the action of a public entity was arbitrary or capricious. The section is not applicable in this case.
All statutory references herein are to the Code of Civil Procedure unless otherwise indicated.
One California opinion makes note of, but was not called upon to determine, the issue presented here. In
Service Employees International Union
v.
County of Napa
(1979)
