This action involves the constitutionality of chapter 65 of the Session Laws of the First Extraordinary Session of 1935 (1935 Extra. Sess., p. 182). On application of the plaintiffs (respondents here), the trial court ordered an injunction against appellants, the commissioner of law enforcement and the attorney general, enjoining and restraining them from proceeding in any manner or form to enforce or execute the provisions of the said act, popularly known as the "Mine Tax Law." Plaintiffs in their complaint set up a large number of objections to the act and urged the same as grounds evidencing the unconstitutionality of the act in question. Among other objections, that plaintiffs urge in their complaint, against the act, is, that it provided no appropriation or means for its proper or adequate enforcement, and also allege as follows:
"The defendants, Commissioner and Attorney General, propose and have threatened to enforce, and will endeavor to enforce, through appropriate action and the imposition of fines and penalties prescribed by the said Act hereinbefore referred to, the collection of the taxes thereby attempted to be *Page 296 imposed upon the plaintiffs, notwithstanding the manifest invalidity of such Tax Act as hereinbefore alleged."
Among other things set up in the answer of the defendants is the following paragraph, which is reiterated in the course of the pleadings, and likewise in the briefs:
"These defendants deny that they contemplate or intend to take any proceedings for the enforcement of said act or to assess or inflict any penalty accruing thereunder until it is judicially determined whether or not there are any funds in the Idaho State Treasury appropriated for the payment of such expenses as may be necessary thereto."
The judgment here entered was rendered upon motion for judgment on the pleadings. A motion for judgment on the pleadings admits the truth of the allegations of the adversary, and, for the purpose of such motion, also admits the untruth of all the allegations of the moving party which have been denied by the adversary. (Walling v. Bown, 9 Idaho 184, 72 P. 960;Idaho Placer Min. Co. v. Green, 14 Idaho 294, 304, 94 P. 161;Mills Novelty Co. v. Dunbar, 11 Idaho 671, 676, 83 P. 932; Coev. Bennett, 39 Idaho 176, 226 P. 736.)
For our present purposes, it stands admitted that the defendants are making no effort to enforce the act in question and do not intend to do so unless it be first judicially determined that funds are available to pay the expense of administration, or a legislative appropriation is made for that purpose. Because of this admitted fact alone, the injunction should not have issued; and under no consideration should a legislative act be declared unconstitutional upon such a state of facts.
"Under the well established rule in this court the constitutionality of a law will not be passed upon unless it is absolutely necessary for the determination of the case." (Mills Novelty Co. v. Dunbar, supra; In re Brainard, 55 Idaho 153, 158, 39 P.2d 769; Kimbley v. Adair, 32 Idaho 790, 793,189 P. 53; Williams v. Baldridge, 48 Idaho 618, 284 P. 203;In re Allmon, 50 Idaho 223, 294 P. 528.)
In the state of the issues as they were made up in the trial court, it was error for the court to pass upon the constitutionality *Page 297 of the act, or order the issuance of an injunction. For that reason the judgment will be reversed.
In view of the fact that the attorney general and the commissioner of law enforcement, against whom the judgment was entered, have gone out of office, and a new attorney general, and another law enforcement commissioner, have taken over the respective offices, and that a new administration is now in power, and another legislature is in session, the cause will be remanded, with direction to the trial court to dismiss the action.
Morgan, C.J., and Holden, Budge and Givens, JJ., concur.
Petition for rehearing denied.