I concur in the judgment. However, I feel impelled to declare my feeling that this concurrence is compelled solely by the decisions in Robertson v. Superior Court, 180 Cal.App.2d 372 [4 Cal.Rptr. 297], hear. den., and McDonnell v. American Trust Co., 178 Cal.App.2d 325 [2 Cal.Rptr. 826], holding that section 583 of the Code of Civil Procedure, and particularly its three-year mandatory period, is applicable to cases involving the correction on appeal of the erroneous sustaining of demurrers, and by the decisions in Legg v. United Benefit Life Ins. Co., 136 Cal. App.2d 894 [289 P.2d 553], hear. den., and Neustadt v. Skernswell, 99 Cal.App.2d 293 [221 P.2d 694], holding that, when applicable, such three-year period is subject to no exceptions, not even that of an estoppel arising from the stipulation of the parties to the later trial date.
If these were new questions open for initial determination by us, I would refuse without hesitation to apply the abstract rules enunciated in the above cited decisions to the present action. Notwithstanding my belief that such a refusal by us is foreclosed by said decisions, I nevertheless shall set forth my reasons for regarding the interpretation therein given section 583 as not in accord with the basic intent of the Legislature in order that whatever rule is deemed preferable may be established by appropriate amendment.
To me it appears very clear that section 583 was intended to establish certain limiting standards applicable to cases in which there has been a lack of diligent prosecution, and that it was not intended to operate as a vehicle by which to penalize a diligent litigant for delay attributable to judicial error for which he was in no way responsible. Initially, section 583 establishes certain limits within which the trial court may exercise its inherent power to dismiss cases that have not been brought to trial with reasonable diligence. Thus, it provides that the trial court may not dismiss an action for failure to bring it to trial until two years have expired and that it must dismiss after the expiration of five years. Section 583 also sets a maximum limitation for the retrial of eases in which, following a trial, a new trial has been granted either by the trial court or by an appellate court following reversal upon appeal.
The practical procedural considerations underlying this expression of legislative intent are clear. As stated in Continental Pac. Lines v. Superior Court, 142 Cal.App.2d 744, 750 [299 P.2d 417], in connection with a discussion of the recognized exceptions to the five-year limitation applicable to cases *65in which, for all practical purposes, proceeding to trial within the described period would have been futile: “It [the statute] was amended to measure the five years from the beginning of the action, and it was intended that the five years allowed should be considered sufficient to afford fair opportunity to bring a cause to trial, even though a part of the five-year period must necessarily be consumed in service of process, disposition of demurrers, amendment of pleadings, if necessary, usual and reasonable time consumed in waiting for a place on the court’s calendar or in securing the attendance of a jury and suchlike usual and necessary proceedings; ...” This language was quoted with approval in J. C. Penney Co. v. Superior Court, 52 Cal.2d 666, 670 [343 P.2d 919], and its reasoning was applied, at least in part, to recent developments in the field of pretrial proceedings.
In essence, then, it is clear that the language of section 583 expresses a recognition by the Legislature that, in view of essential and appropriate procedural steps leading to a trial, it would be inadvisable to dismiss an action in less than two years, but that it should be dismissed at the end on five years, unless extended by certain judicially created exceptions, or by stipulation of the parties.
However, when all the necessary procedural steps have been completed and a trial on the merits has been had within the five-year period, but a new trial subsequently has been granted, the trial court must dismiss the action three years thereafter and may dismiss it, in the reasonable exercise of its inherent power, at any time after the order granting such new trial, or the filing of the remittitur if the new trial is granted following an appeal. (Cameron v. Cameron, 110 Cal. App.2d 258, 260-261 [242 P.2d 408]; Inderbitzen v. Lane Hospital, 17 Cal.App.2d 103, 106 [61 P.2d 514]; see also Holt v. Pardue, 178 Cal.App.2d 528, 533 [3 Cal.Rptr. 225]; Mastelotto v. Harbor Box & Lumber Co., 170 Cal.App.2d 429, 434 [338 P.2d 988]; Clements v. Ragghianti, 155 Cal.App.2d 188, 191 [317 P.2d 706], stating the inapplicability of section 583 in cases involving partial trials or mistrials.)
The soundness of the rulings in the cited decisions is apparent, for the plaintiffs therein had had full opportunity to complete all necessary proceedings prior to the first trial of their cases on their merits and ordinarily there would be no good reason that the second trials should not be rescheduled promptly.
In addition, it has been held that the sustaining of a *66demurrer without leave to amend (Berri v. Superior Court, 43 Cal.2d 856, 859 [279 P.2d 8]; Smith v. City of Los Angeles, 84 Cal.App.2d 297, 305 [190 P.2d 943]), and the granting of a motion for summary judgment (Southern Pacific Co. v. Seaboard Mills, 207 Cal.App.2d 97, 104-105 [24 Cal.Rptr. 236]) constitute “trials” sufficient to remove the action from the five-year limitation of section 583. Nothing in these decisions, however, provides any authority for the proposition that the reversal on appeal following such “trials” constitutes the granting of a “new trial” so as to make the other mandatory portions of section 583 applicable.
“When the demurrer has been sustained and judgment of dismissal has been entered there has been a trial and the action is not subject to dismissal under section 583.” (Italics added.) (Berri v. Superior Court, supra, at p. 859.) Further, in the Berri ease where the trial court had not entered judgment following the sustaining of the demurrer without leave to amend, but subsequently had dismissed the action for failure to bring it to trial within five years, the court concluded (p. 861) : “Inasmuch, however, as the trial court may change its ruling on the demurrer, as no judgment has been entered, the trial court is hereby directed to render judgment, or if it deems advisable, give consideration to a reexamination of its ruling. In case it does the latter, however, the action is not subject to dismissal because under the above reasoning there has been, in effect, a partial trial of the action and section 583 is inoperative. A partial trial of an action will take the case out of the operation of section 583. [Citations.]” (Italics added)
In Smith v. City of Los Angeles, supra, the court stated (p. 305): “Inasmuch as we hold that the sustaining of the demurrers herein without leave to amend, followed by judgments for the defendants, constituted a ‘trial’ within the meaning of section 583 of the Code of Civil Procedure, we conceive it to be unnecessary to examine and decide the contentions of appellants that upon the reversal of the judgments herein, the actions were not subject to dismissal under the provisions of section 583 of the Code of Civil Procedure because they were brought to trial within a period of three years after the remittitur of the appellate court was lodged with the clerk of the trial court and, that in computing the period of five years within which an action must be brought to trial under the provisions of section 583 of the Code of Civil Procedure, where a final judgment has been entered *67upon an order sustaining a demurrer to the complaint without leave to amend, followed by an appeal and reversal of the judgment, the time elapsing between the filing of the demurrer and the final determination of the appeal must be excluded.” (Italics added.)
Similarly, in Southern Pacific Co. v. Seaboard Mills, supra, at pages 104-105, this court was not called upon to determine whether the three-year limitation upon the granting of new trials following reversal would have been applicable, because the matter had been dismissed prior to that date. We only pointed out therein that since the case had been brought to “trial” (a motion for summary judgment having been granted) thereafter the two and five-year limitations of section 583 were inapplicable and the trial court had not granted the motion to dismiss under its inherent discretionary powers.
In my opinion, the rule that the erroneous sustaining of a demurrer without leave to amend constitutes a “trial” or partial trial sufficient to remove the action from the mandatory five-year limitation, does not necessarily require a holding that it becomes subject to a mandatory three-year limitation. In my view, a declaration that it does is both a non sequitur and diametrically opposed to the intent of the Legislature. The plaintiff, in the instant ease, had been deprived of the period fixed by the Legislature as a reasonable one within which to bring his case on for trial initially upon its merits after full opportunity allowed to complete correction of pleadings, discovery and other pretrial procedural matters, by the application of a rule developed by the courts to avoid this very situation.
Indeed, even if the period preceding the filing of respondent's demurrer, which was erroneously sustained without leave to amend, were tacked on to the time elapsed following the filing of the remittitur (on the decision which corrected such error) until the trial date, the total still would not bo. equal to the five years to which he would have been entitled absent such error. However, if the question were open I would not feel it necessary to hold that tacking would be required, for I agree with the ruling in the Smith case above cited that in situations of the present type, none of the mandatory maximum limitations of section 583 are applicable and that the action is subject to dismissal only under the inherent power of the court.
Since the dismissal in the instant case clearly was not *68made in the exercise of any inherent power of the court, and since there was no showing that plaintiff was lacking the diligence in bringing the case on for trial that would have warranted an exercise of such powers, I would reverse the judgment if I were free so to do.
Furthermore, the record in the instant case clearly shows that both parties expressly stipulated to the trial date, and respondent necessarily would have waived any right he had to complain thereof. Although the stipulation referred to in section 583 must he in writing, the case of Wright v. Groom, Trucking Co., 206 Cal.App.2d 485, 490-492 [24 Cal.Rptr. 80], expressly points out that an oral stipulation entered in the minutes of the court satisfies this requirement, but one that is not entered does not. The court in Wright went on to point out (p. 492): “The foregoing language is applicable to the case before us. The pretrial conference order upon which plaintiffs here rely, makes no mention of any stipulation entered into between the parties. Indeed, no consent of the parties was required for the setting of the case for trial after pretrial conference. [Citations.] Plaintiffs seek to have us look behind the court’s pretrial conference order and in effect change it, by construing it as a written stipulation. This we cannot do. It is not a written stipulation and makes no mention of a written stipulation.” (Italics added.) (Cf., also, J. C. Penney Co. v. Superior Court, supra, 52 Cal.2d 666, 671.)
In the instant ease, the pretrial conference order contained in the clerk’s transcript filed, in this appeal expressly states: “The parties stipulate the case may be set for trial in Department NB “A” at 9:30 A.M. on the 29th day of October, 1962.” (Italics added.)
Were it not for the fact that I regard myself as hound by the earlier decisions heretofore cited, I would hold that respondent was not entitled to seek a dismissal in the face of .the express stipulation contained in the trial setting order, and, for this second reason, I would reverse the judgment.