The opinion of the court was delivered by
JOHNSTON, J.:Upon application, and after due notice and a hearing, the board of railroad commissioners, on January 3, 1893, made an order allowing the Union Terminal Railroad Company to cross the tracks and rights-of-way of the Union Pacific Railway Company and the Missouri Pacific Railway Company at a point near the west end of the bridge across *684the Kansas river, in Wyandotte county. The order provided that the crossing should be made at grade, and prescribed the terms and manner of crossing, as well as fixed the compensation to be paid. On May 8, 1893, and after the membership of the board had been changed,’ the Missouri Pacific Railway Company and the Union Pacific Railway Company filed motions before the new board for a rehearing of the crossing cases, and asked ’the board to set aside and vacate the orders made by the former board on January ’3, 1893. The motions for rehearing were heard on May 10, 1893, when the Union Terminal Railroad Company appeared specially and objected to the consideration of the motion, claiming that the board had no power to reopen the case, or to grant any rehearing. The objection was overruled, and the board held that it had power to rehear the cases, and to vacate and set aside the orders previously made. The plaintiff then commenced the present action in the district court of Shawnee county to enjoin the board from further hearing the motions for rehearing, when a restraining order was allowed until the hearing for a temporary injunction. Subsequently, the district court heard the application, and, upon the evidence and arguments submitted, the temporary injunction was denied. Upon .this ruling error is assigned.
The proceedings to obtain the right to cross the tracks of the defendants were taken in pursuance of chapter 184 of the Laws of 1887. It is contended that this act with reference to crossings is an exercise of the power of eminent domain, in which the board of railroad commissioners simply acts, ex officio, as condemnation commissioners. Counsel for plaintiff argue, with great earnestness and plausibility, thát the rules of law applicable to ordinary condemnation commissioners are applicable in this case, and, when the board has heard the application, visited the premises, considered the evidence, rendered its decision, and made its award of compensation, they are then, like other condemnation commissioners, functus officio, and can take no further action in the premises. It is urged that they have only such powers as are expressly given *685them by the statute itself, which makes no provision for rehearings or for any proceedings to vacate, modify or set aside an award made by them; that the law does provide for an appeal as to the compensation awarded and the terms of crossing ; and it is urged that, if either party feels aggrieved by the decision of the board, it should pursue the statutory remedy, and that the defendants, failing to avail themselves of that, have no other remedy.
On the other hand, the defendants call our attention to the fact that they are only nominal parties, and that no temporary injunction should be granted until the railroad companies whose legal rights are to be directly affected are made parties to the action.
The objection is good. The railroad companies which are invoking the action of the board, and whose rights will be seriously affected by the action which it will take, were not made parties to this action. The railroad commissioners have no interest in the controversy beyond the abstract one of correctly determining their power in the premises and the rights of the contending parties. They are not the representatives of the railroad companies, and cannot be burdened with the task of protecting their rights. As a ground of injunction, it is claimed by the plaintiff that since the order of January 3,. 1893, allowing the crossing to be made, it has expended about $100,000 in the acquisition of right-of-way and in the construction of its road approaching the proposed crossing. It is contended that the lapse of time and the expenditures made by the plaintiff relying upon the order allowing it to cross gave it a vested right, and the district court held that there was great force in this contention. The fact that the money was expended upon the faith of the order of the old board or that vested rights had accrued against the defendant companies appears to be disputed. But why should the board of railroad commissioners assume the burden of any of the defenses of the railroad companies? The motions for rehearing were filed and are being pressed by the railroad companies, in which they allege numerous rea*686sons for reopening the case and setting aside the original order. They are endeavoring to have rescinded an order which they allege inflicts serious and unnecessary injury to them and their properties. Shall their rights be determined and their hands tied without a hearing or an opportunity to be heard? We are clearly of opinion that they are necessary parties to this proceeding, and that no important step should be taken nor any injunction granted until they are brought before the court. It has frequently been held that the court will not proceed against a mere nominal party until the real parties and those who will be directly affected by the result of the litigation are given an opportunity to be heard upon the question at issue. (The State v. Anderson, 5 Kas. 90; Gilmore v. Fox, 10 id. 509; Says v. Sill, 17 id. 360; Foss v. School District, 18 id. 467; Carpenter v. Sindman, 32 id. 607; A. T. & S. F. Rld. Co. v. Wilhelm, 33 id. 206; Cassatt v. Comm’rs of Barber Co., 39 id. 506; McCarthy v. Marsh, 41 id. 17; Livingston v. McCarthy, 41 id. 20.)
Under the ruling of these authorities, and in the absence of the railroad companies, the plaintiff was not entitled to an injunction, and therefore no error was committed in denying the application.
Judgment affirmed. *
All the Justices concurring.