after stating the case, delivered the opinion of the court.
Upon the conceded .facts, unless the plaintiff in error was entitled to be' compensated for the school-house in question, the instruction limiting the recovery to three thousand dollars was correct, and the judgment must be affirmed.
The constitution of the State of Colorado provides “ that no person shall be deprived of life, liberty or property,' without due process of law; ” and “ that private property shall not be taken or damaged, for public or private use, without just compensation.” Art. II. §§ 25, 15, Gen. Stat. Col. 1883, 34, 35; 1 Charters añd-Constitutions, 221, 222.
'Did the'just compensation thus secured to the owner of property taken in thó exercise of the power of eminent domain, include in this instance payment to the .plaintiff in error for the. improvements made by the school district in order to carry *561 out the specific use and purpose for which the land was required ? Could plaintiff in error properly insist that the loss of the school-house was an injury which he sustained by reason of the taking ?
The argument is that the moment the school-house was completed it belonged to the owner of the land by operation of law, and therefore that he was entitled to be recompensed for it upon' condemnation. The maxim
qidcquid plantatur
solo,
solo
cedit, is not of universal application. Structures fpr the purposes .of trade or manufacture, and not intended. to become irrevocably part of the realty, are not within the rule,
Van Ness
v.
Pacard,
The civil law recognized the principle of reimbursing to the bona fide possessor the expense of his improvements if he was removed from his possession by the legal owner, by allowing him the increase in the value of the land created thereby. And the betterment laws of the several states proceed upon that equitable view. The right of recovery, where the occupant in good faith believes himself to be the owner, is declared to stand upon a principle of natural justice and equity, and such laws are held not to be unconstitutional as impairing vested rights, since they adjust the equities of the parties as nearly as possible according to natural justice ; and in its application as a shield, of protection, the term <£ vested rights” is not used in any narrow sense, but as implying a vested interest of which the individual cannot be deprived arbitrarily without injustice. The general welfare and public policy must be regarded, and the equal and impartial protection of the interests of all. Cooley Cons. Lim. *356, *386.
But if the entry upon land is a naked trespass, buildings permanently attached to the soil become the property of the *562 owner of the latter. The trespasser can acquire no rights by his tortious, acts.
' The Circuit Court was not dealing with an action of ejectment or trespass, but simply with a proceeding in the exercise of the right of eminent domain. That right is the offspring of politi-, cal necessity, and is inseparable from sovereignty unless denied to it- by its fundamental law. It cannot be exercised except upon condition that just compensation shall be made to the owner, and it is the duty of the State, in the conduct of the inquest by Which the compensation is ascertained, to see that it is just, not merely to the individual whose property is taken, but to the public which is to pay.for it.
Garrison
v.
New York,
It is among the agreed facts in the case that the premises appropriated were necessary for the schools and were taken for that public use; that though the district had knowledge of the' issuing of a patent covering the property, yet it purchased the adverse title of the party then in possession, believing it to be better than the patent title, and upon the advice of reputable counsel, who had, on investigation, reported against the validity of the patent and in favor of the validity of the title purchased, and paid thirty-five hundred dollars, which was five hundred dollars more than the actual value, without the building, was-admitted to be when the trial took place; and that, notwithstanding notice that it was proceeding at its peril, it' erected the building in reliance upon such belief that it had the better title. The only legitimate' inference from these-facts is that the district acted throughout in good faith, as the opposite of fraud and bad faith, and, although it may have .been wholly mistaken, the intention-guided the *563 entry and fixed its character, and it cannot be held to havé been such a trespass as to. justify the claim that the school building, erected in similar good faith, so became part and parcel of the land as to entitle the owner to recover its value. Plaintiff in error knew when he obtained the 'title that the land was in necessary use by the public for a purely public purpose, and that no intention of- parting with the structures could be imputed; and no notice of what his grantor or himself intended to insist on could destroy the good faith in fact, which the conceded belief of the district imparted to its conduct.
In
Wright
v.
Mattison,
We are of opinion that plaintiff in error could not successfully contend that the school- district should be treated as a naked trespasser. Nnd as-the actual-value of the land at the time of the trial must have included whatever increase may have enured by reason of its adaptability to school purposes and every other element entering into its cash or market value, as tested by its capacity for any and all uses, it folio ws that the true criterion of recovery was adopted.
It is not denied that the school district, when it .filed its petition, was entitled,to acquire the property in the exercise of the power of eminent domain, but it is said that it could not do so prior to February 13, 1883, the date of the passage of an act rendering such • action on its part lawful. Sess. Laws, Colorado, 1883, 263; Gen. St. § 3044, 893. But we cannot perceive that this affects the precise question before us. Inability to condemn indicates that possession was not taken with the view of proceedings to that end, but that is conceded on the other ground, that the school district believed that it ■had the better title and erected its building accordingly. When it came to possess and exercise the power, the inquiry Avas limited to such compensation as was just and did not embrace remote or speculative damages, or payment for injuries not properly susceptible of being claimed to have been sustained.
It Avas ruled in
Secombe
v.
Railroad
Company,
Plaintiff in error obtained the legal title February 2, 1884, and this petition was filed the second day of Juné of that year. If he suffered injury by being kept out of possession, for which he could recover damages; they could not be assessed in this action, and there is nothing in the record to show that any claim to that effect was made.
Chapter XXXT of the General Laws .of Colorado treats of eminent domain, and constitutes Chapter XXI of Dawson’s Code of Civil Procedure, referred to in the record. Section 253 provides that “in estimating the value of all property actually taken, the true and actual value thereof at the time of the appraisement shall be allowed and awarded,” and that “ in all cases the owner or owners shall receive the full and actual value of all property actually taken.” Dawson’s Code, 1884, 80. This means, of course, the value of the owner’s real interest. It was agreed that at the time of the trial the actual value of the land, “ without the improvements thereon made by the school, board,” was three thousand dollars, so that, as before stated, the sole question is whether the .Circuit Court erred in holding that the defendant could-not be allowed for the improvements. We 'think that in this there was no error. In our judgment, the technical rule of law invoked to sustain the defendant’s contention that he owned the. schoolhouse, was inapplicable, and the value of the improvements could not justly be included in the compensation. Numerous well-considered decisions of the state courts announce the same results. Justice v. Nesquehoney Valley Railroad, 87 Penn. St. 28, 32; Jones v. New Orleans & Selma Railroad, 70 Alabama, 227; Lyon v. Green Bay & Minnesota Railroad, 42 Wisconsin, 538; Chicago & Alton Railroad Co. v. Goodwin, 111 Illinois, 273; Oregon Railway & Navigation Co. v. Mosier, 14 Oregon, 519; Morgan's Appeal, 39 Michigan, 675.
The judgment is Affirmed.
