Appeal from a judgment quieting title and from an order denying motion to vacate such judgment.
Plaintiff filed his complaint under section 738, Code of Civil Procedure, for the purpose of determining adverse claims to certain described real estate. To this complaint appellants *Page 583 were not made parties, but the court by its order, good cause appearing, granted appellants leave to intervene, which they did by filing their several complaints in intervention, denying plaintiff's ownership of the premises, or that he was in possession or entitled to possession thereof; and each complaint in intervention alleging further that interveners were the owners and entitled to possession of specified portions of the lands described in the complaint. Thereupon the attorneys for plaintiff filed in the clerk's office a written direction to the clerk to enter a dismissal of the action as to certain named defendants, in which appears the names of interveners. Afterward, and without notice of any character to interveners, the court ordered the default of certain defendants not included in the order of dismissal to be entered and gave judgment against such defendants, wherein the court decreed that plaintiff was the owner and in possession, and entitled to the possession, of all the premises in the complaint described and quieted plaintiff's title therein; in which judgment it is recited that plaintiff, appearing by his attorneys, dismissed as to defendants (naming those mentioned in the direction to the clerk). But in neither the order to the clerk nor the judgment are interveners designated as such; nor does it appear that any order was made by the court vacating its order granting leave to intervene, unless the recital in the judgment of the action of the attorneys be construed as such order.
Interveners, within due time, moved the court to vacate and set aside its judgment, because no notice of the trial of the action was given interveners or their attorneys, which motion was denied and said judgment duly entered in the judgment-book; from which judgment, and from the order refusing to vacate the same, appellants duly appeal upon a bill of exceptions.
The action to quiet title is one for the recovery of real property. (South Tule etc. Ditch Co. v. King, 144 Cal. 455, [77 P. 1032].) The real property so sought to be recovered is, therefore, the subject matter of such action. The order of the superior court granting leave to intervene determined that interveners had an interest in the matter in litigation, and under section 387, Code of Civil Procedure, were entitled as parties to avail themselves of all of the procedure and remedies to which the defendants were entitled *Page 584 for the purpose of defeating the action or resisting plaintiff's claim. (People v. Perris Irr. Dist., 132 Cal. 290, [64 P. 399, 773].)
It appears from the bill of exceptions that interveners served and filed their complaints, setting forth the grounds upon which their intervention rested, due service of which is certified in the bill, which must be accepted as service upon all parties to the action, as required by section 387, Code of Civil Procedure, and the claim to the subject matter is an interest adverse to both plaintiff and defendants. The only relief sought, however, by these complaints in intervention was that plaintiff take nothing and that interveners recover costs. Under the law, their position was thereafter that of "plaintiff in intervention, uniting with the defendant in the cause in resisting the demands of plaintiff in the cause." (St. CharlesR. R. Co. v. Fidelity etc. Co., 109 La. 491, [33 So. 574].) The inaction of the defendants in permitting their default does not preclude intervener from his relief. (People v. Ferris Irr.Dist., 132 Cal. 290, [64 P. 399, 773].) That plaintiff in such action may dismiss the same, where the relief sought by interveners is only "that plaintiff take nothing," is determined in Henry v. Vineland Irr. Dist., 140 Cal. 377, [73 P. 1061]; the reason assigned is that "by a complete dismissal of the action plaintiff has consented to take nothing and thereby the ends of the intervention are accomplished." But in this case plaintiff does not so elect, but seeks to maintain his action against certain defendants and proceeds to judgment against them, and by such judgment takes the relief sought. After the court has determined by its order that a party has an interest in the subject matter of a suit and should be permitted to litigate such interest therein, it is not within the power of the plaintiff, either under the provisions of section 581, Code of Civil Procedure, or otherwise, to annul such order of the court by dismissing the action as to such parties, and unless the court vacates the order permitting intervention, the plaintiff, so long as he seeks relief under the action, must meet such issues raised by the complaints in intervention. There is nothing in the record to justify the conclusion that the court vacated its original order permitting intervention. The dismissal was directed by the plaintiff, and the judgment *Page 585 only purports to recite such action on the plaintiff's part and does not purport to make any order or direction upon the part of the court. The doctrine of intendment in favor of a judgment cannot be carried to the extent of presuming that done by the court which it directly declares to have been done by a party to the action. Nor could the court, under our practice, dismiss an action, either as an entirety or as against parties, except as authorized by section 581 of the Code of Civil Procedure. Any judgment of the court not authorized by that section must be upon merits. (Code Civ. Proc., sec. 582.) Hence, were we to construe the language of the recital in the judgment as an attempt upon the part of the court to order a dismissal as to the interveners it would be unauthorized. There is nothing inAlpers v. Bliss, 145 Cal. 571, [79 P. 171], establishing a different proposition. Interveners then being parties by authority and the action still pending, and no order of the court being entered vacating the former ex parte order permitting intervention, and the issues of fact tendered by the complaints in intervention being still undetermined, the court could not hear and determine such issues in the absence of the adverse parties without the five days' notice prescribed by section 594, Code of Civil Procedure, unless such notice was waived by the interveners directly, or some act amounting to a waiver is made to appear. There is nothing in the record indicating notice or waiver thereof upon the part of the interveners.
The court erred in refusing to vacate said judgment so rendered, and in entering a judgment granting the relief to plaintiff before the issues of fact were heard and determined.
It is ordered that the order refusing to vacate the judgment and the judgment so entered be reversed and the cause remanded for further proceedings.
Shaw, J., and Taggart, J., concurred. *Page 586