delivered the opinion of the court.
This matter is before us on application for a writ of prohibition upon the relation of E. Augustus Heinze. The petitioner complains that the district court of the second judicial district is about to strike his answer from the files of a certain cause pending in said court, wherein the Boston and Montana Consolidated Copper and Silver Mining Company, plaintiff, sues him for a large sum of money. It appears from the petition and from the answer of the respondent court and judge that the plaintiff caused a certain notary public to issue a subpoena duces tecum addressed to the relator herein, directing him to appear before him, the said notary, in order that his deposition might be taken at the request and upon the demand of the plaintiff. It appears that the witness, when his deposition was taken, refused to answer certain questions, and thereafter failed and refused to sign the deposition, whereupon the attorneys for plaintiff appeared in the district court and moved *396that the answer of the defendant in the canse then pending, the relator herein, be stricken from the files, and that plaintiff have judgment for the amount demanded in its complaint.
The relator, in his application for the writ, declares that he was required to appear and show cause why the motion should not be granted, and that thereupon he appeared and objected to the jurisdiction of the court to hear the motion or grant the relief therein demanded; “that the said court and the judge thereof threatens to, and will, unless restrained and prohibited by this honorable court, proceed to hear and determine said motion and application, and, if it is found that the statements and allegations in said motion of plaintiff contained are true, will strike the answer of your petitioner from the files, whereupon judgment will be rendered against him for the amount demanded in the complaint.” He adds that execution would immediately issue against the defendant.
The provisions of section 3306 (of Title III, relating to “Production of Evidence” and of Chapter II relating to “Means of Production”) of the Code of Civil Procedure are invoked by the attorneys for the plaintiff in support of the motion to strike the answer from the files. That section is as follows : “Disobedience to a subpoena, or a refusal to be sworn, or to answer as a witness, or to subscribe an affidavit or deposition when required, may be punished as a contempt by the court or officer issuing the subpoena or requiring the witness to be sworn; and if the witness be a party, his complaint or answer may be stricken out.” The court and the judge in the return admit the allegations set forth in the petition, “except the statement contained in the sixth paragraph of the petition, reading: * And, if it is found that the statements and allegations in said motion of plaintiff contained are true, will strike the answer of your petitioner from the files, whereupon judgment will be rendered against him for the amount demanded in the complaint.’ ” In reference to this allegation the answer states that, unless restrained, the court will proceed with the hearing of said motion, “and will make such order thereon as *397in its opinion will be proper under tbe facts and tbe law applicable thereto, granting tbe relief asked for by tbe plaintiff if tbe law and tbe facts require sucb order, and will bold that tbe court has power to strike out tbe answer under section 3306 of tbe Code of Civil Procedure in a proper case”; and there is an admission in the answer that tbe court overruled an objection to its jurisdiction — Article Y of Amendments to tbe Constitution of tbe United States and section 27, Article III, of tbe Montana Constitution being cited by tbe objectors to support tbe contention that tbe statute is invalid.
Tbe question submitted for determination is this: Is section 3306 of tbe Code of Civil Procedure constitutional? May tbe court lawfully, in the case of plaintiff against tbe defendant, find that tbe witness is in contempt in refusing to obey tbe order of a notary public? Tbe answer to this question is of very great importance, but may not be given in this proceeding.
Heading tbe definition of tbe writ of prohibition in section 1980 of tbe Code of Civil Procedure, we find that this court may arrest tbe proceedings of a district court when sucb proceedings are without, or in excess of, tbe jurisdiction of that tribunal. Any citizen may make any motion be may see fit to make, if be do it in a respectful way, in tbe district court, and it should proceed to bear and determine that motion; that is, dispose of it as tbe law may require, and either grant or refuse it. If what is asked is without, or in excess of, tbe jurisdiction of .the court, it will deny tbe motion; if not, it will grant it in whole or in part, or deny it. Tbe motion pending in tbe court below is to strike tbe answer from tbe files and enter judgment in default of answer. Tbe court is now entertaining this motion, and will, unless prohibited by us, decide it. This it is its plain duty to do, and neither tbe court nor tbe judge may be prohibited from bearing and passing upon any motion which may arise in any matter pending in tbe court. If what is asked for in tbe motion should be granted, and tbe court should, because of tbe law being unconstitutional, *398do something that it has no authority to do, then the defendant will have his remedy. What that remedy,, may be, of course-should not at this time be indicated. There is no wrong without a remedy, and if the court should err in its decision there is a speedy and adequate remedy.
The language in which the respondent court and judge have couched the denials of the allegations of the petition as to what the court is doing and is about to do is not as explicit as it might be. Still, we interpret the words of the denials to mean that the court has not any present intention to strike the answer and render and have entered the judgment prayed for in the motion pending before it, but that, although it at present believes the statute to be constitutional, and conferring power and authority upon it to do as prayed, it will examine into all the facts and circumstances, and then, under the law as it shall then appear, do and determine as to it seems necessary and lawful in the premises. This we should not prohibit it from doing.
Although a written opinion of the court upon the matters- and points has been submitted to us in the brief of counsel for respondents, it is not in any sense properly before the court, and we have not looked to it for the purpose of learning what is the intention of the lower court.
The court does not in its answer admit what the petitioner alleges — that is, that it is going to strike the answer from the-files and enter the judgment prayed for. It says that it is going to hear and determine the motion, and do whatever the-law requires to be done. This the court should do. It is true that the answer states that the court will hold that it has power to strike out the answer under the said section. If this is intended to convey the idea that the court below believes that, the section is constitutional, still it does not necessarily follow that in this particular case, under the facts-and circumstances thereof, the court intends to and will grant the motion complained of.
*399As we have said, the judge of the district court admits that, objection was made to the jurisdiction of the court on the ground that the section referred to was invalid, both under the federal and state Constitutions, in that it deprived the defendant of due process of law, and that the court overruled the objection. This, of course, was tantamount to holding the statute to be valid and constitutional. We are inclined to the belief that the court was wrong in so deciding; but it has not yet passed upon the motion to strike the answer and to enter judgment for plaintiff. It must pass upon the motion. May we, on petition for a writ of prohibition, ord.er the court to deny the motion and go on with the suit? We think not* Shall we grant the writ, which amounts to the same thing as ordering it to overrule the motion? We think not. It is within its jurisdiction to dispose of the motion rightly or wrongly. In this matter the court below, and none other, can have jurisdiction to pass upon the motion made, which motion was made under the statute. If the inferior court has jurisdiction of the subject matter in controversy, a mistaken exercise of that jurisdiction or of its acknowledged powers will not justify a resort to the extraordinary remedy by prohibition* (High on Extraordinary Legal [Remedies, sec. 767.)
The point that prohibition may not be properly invoked at this stage of the proceedings, if at all, was suggested to counsel at the hearing, but they did not think it necessary to discuss the question. Evidently, to the same degree that petitioner desired the section 3306 declared invalid, to such an extent also, the respondents wished to have it decided valid, and both sides apparently wished the serious question as to the section of the Code decided herein. But if we have no authority under the law to grant the writ prayed for, or any writ, under the present circumstances, we shall not do so, even if no objection has been made to our authority. Although we know that the court below is considering what it will do in a matter in which, under a possible state of facts appearing on the hearing, it may, acting under its present belief that the statute is consti*400tutional, finally make an order which it will be beyond its lawful power to make if the section of the Code relied upon be invalid, still we do not think that under such circumstances the court is now without, or in excess of, its jurisdiction.
Under the allegations of the petition and the denials contained in the answer it is apparent, when we consider the definition of the writ of prohibition and when it will lie, that it is not properly invocable in this case. The alternative writ herein is dissolved, and the proceedings dismissed.
Dismissed.
Me. Ohiee Justice Beantly concurs.