Action to determine adverse claims to real estate. The complaint alleges that plaintiff is the owner in fee simple of the lot involved in the suit, and, so far as the other allegations of the oomplaint are concerned, the same are in compliance with the provisions of chapter 5, p. 9, Laws 1901, which provides what the allegations of the complaint may be. The answer of John 'Christianson-, the only defendant who has answered, “denies generally and specifically all and singular each and every allegation, matter, fact and thing in said complaint alleged, set forth and contained, not hereinafter specifically admitted, qualified or explained.” The answer further sets forth an alleged lien in favor of said defendant, and particularly sets forth each step or proceeding by which it is claimed that said lien was created and under which the defendant claims that he acquired an interest in and lien upon said lot. The facts set forth in said answer are, in substance, as follows: That one Armstrong was in possession of said lot between January 1, 1901, and April 3, 1902; that during said period said Armstrong kept and maintained a nuisance upon said lot, contrary to the provisions of section 7605, Rev. Codes 1899, and was thereafter convicted of the offense of maintaining a nuisance by selling intoxicating liquors in a place kept on said lot, contrary to the provisions of said section; that said Armstrong was sentenced to imprisonment and to pay a fine of $200 and the costs of the prosecution, taxed at the sum of $100; and that said fine and costs, aggregating the sum of $300, were by the court declared, adjudged and decreed to be a lien upon the lot on which said nuisance was maintained, and that.said' lot was sold on execution issued under such judgment to the defendant :and a certificate of sale thereof duly issued to him, and that he is the owner .and holder of said certificate. The plaintiff moved for judgment on the pleadings in *480this ' action. The trial court granted the motion, and judgment was entered in favor of the plaintiff. The judgment declared the plaintiff to be the owner of the lot, and that the defendant’s alleged lien on the lot was null and void and' conferred no rights upon •him. The defendant has appealed from the judgment.
A statement of the case was settled and made a part of the judgment roll. The errors specified therein relate solely to the alleged error in granting the motion for judgment. Appellant attempts to sustain his contention upon two grounds: (1) That there was an issue made by the answer as to the plaintiff’s ownership of the lot. (2) That defendant had a valid lien upon the lot by virtue of the certificate of sale issued to him.
Upon the latter contention it may be said that the lien is claimed to have been based upon proceedings under section 7610, Rev. Codes 1899, which reads as follows: “All fines and costs assessed against any person or persons for any violation of this chapter shall be a lien upon the real estate of such person or persons until paid; and in case any person or persons * * * shall permit the same to be used and occupied for the sale of intoxicating liquor contrary to the provisions of this chapter, the premises so leased and occupied shall be subject to a lien for and may be sold to pay all fines and costs assessed against any such occupant for any violation of this chapter; and such lien may be enforced by civil action in any court having jurisdiction * * The lot in question was sold to the defendant at an execution sale. The execution was issue on the judgment entered against Armstrong in the criminal case. There was no action brought to enforce this lien, and the plaintiff was not a party to any proceedings as to the judgment or as to the sale. It is clear to us that the sale was a nullity. Section 7610 clearly provides for an action to enforce liens in eases like the one under consideration. Unless enforced by action, the owner of the real estate is deprived of an opportunity to establish that the conditions under which such liens may be created did not exist. His property may be taken- without an opportunity for a hearing if the lien can be enforced by execution. He is entitled to his day in court before his property can be taken from him. His property cannot be taken from him without due process of law. The lien cannot be .adjudged to be binding upon the owner until he has had an opportunity of showing its invalidity in an action in which he is a party. United Lines Tel. Co. v. Boston Safe deposit & Trust Co., 147 U. S. 431, 13 Sup. Ct. 396, 37 L. Ed. 231; *481Brown v. Denver, 7 Col. 305, 3 Pac. 455 ; Am. & Eng. Enc. Law (2d Ed.) vol. 10, p. 297, and cases cited.
The answer fails to set forth the facts necessary to a valid lien on the premises for the fine and costs in the criminal action. There is no lien unless the owner of the premises permits the occupant thereof .to use them for the sale of intoxicating liquors. The word “permit,” as here used, means that the unlawful use is allowed to continue after knowledge or notice thereof. It does not mean that the nuisance exists, but that it exists with the consent or acquiescence of the owner. There is no allegation in the answer that Armstrong was the owner of the real estate, nor that the then owner knowingly permitted the maintenance of a nuisance. These are necessary facts to be shown before there is a lien and before it can be enforced. Stuart v. State (Tex. Cr. App.) 60 S. W. 554; Gray v. Stienes, 69 Iowa, 124, 28 N. W. 475; State v. Pierce (Me.) 15 Atl. 68; Chicago v. Stearns, 105 Ill. 554; Wilson v. State (Ind. App.) 46 N. E. 1050; Territory v. Stone, 2 Dak. 155, 4 N. W. 697. For the reasons stated, the court had no jurisdiction to adjudge that the fine and costs be a lien upon the premises as against the plaintiff or the owner, and its action in the premises was a nullity. As the answer fails to show that there was a lien on the premises, the question argued that the defendant was subrogated to the state’s rights to the Men is disposed of. The allegation that Armstrong was in possession of the premises is not equivalent to an allegation of his ownership.
It was error, however, to enter judgment in favor of the plaintiff. The answer denied the plaintiff’s title to the lot. There is no proof in the record on the question of ownership or title. Before the plaintiff becomes entitled to have an adverse title quieted, he must first show that he is entitled to maintain the action. He must have an interest of some kind, by lien or otherwise, in the real estate to which adverse claims are made. Section 5904, c. 5, p. 9, Laws 1901. Unless he has some interest or estate therein, the defendant is not compelled to set forth his .claims. Dever v. Cornwell, 10 N. D. 123, 86 N. W. 227. By the weight of authority, and we think by the better reasoning, which is more in consonance with the general rules of pleading, it is held that a denial of plaintiff’s title or right to maintain this kind of an action precludes an entry of judgment on motion, although the defendant’s adverse claim fails. 'See cases cited in volume 17, Am. & Eng. Enc. Law (2d Ed.) pp. 350, 362. The motion for judgment on the plead*482ings was submitted to the court under a stipulation by the attorneys in open court. This stipulation provided that, if plaintiff’s motion was denied, judgment should 'be entered for the defendant for the relief therein prayed for, and, if the motion was granted, that the answer was not to be .amended and the judgment should be final so far as the defendant was concerned, subject to the right of appeal. It further provided that the motion should be heard subject to the rules of law applicable to motions for judgment on the pleadings. Because of the latter stipulation, judgment cannot be entered for the plaintiff. There is no admission on defendant’s part that the allegations of the complaint are true. It is only stipulated that the court may enter a final judgment in plaintiff’s favor if the rules of law applicable to motions for judgment on the pleadings will warrant it. As the judgment is reversed on a point not connected with the facts alleged as a defense, no costs will be allowed on the appeal.
(106 N. W. 51.)The judgment is reversed, and the cause remanded for further proceedings.
All concur.