This is an original proceeding by mandamus to compel the respondent to complete the taking of a deposition and to employ the process of contempt against the witness to compel him to answer. The matter has been submitted upon a demurrer to the petition, from which it appears that these petitioners, having commenced an action for damages in the court of which the respondent is judge, filed a proper affidavit and gave regular notice that they would on a certain day take the deposition of the defendant therein before said judge at his courtroom. In pursuance of this affidavit and notice, the respondent issued a subpœna commanding the attendance of said defendant as a witness, and at the appointed time he appeared and was duly sworn to testify as a witness in the cause, but by the advice of his counsel and under their instructions he refused to answer certain proper questions propounded to him by counsel for the plaintiffs, and further declared his intention to refuse to answer any questions relating to the matters in controversy in the action.
Counsel for plaintiffs thereupon requested respondent to commit the defendant for contempt until he should consent to answer all such proper questions as might be asked him. This the respondent refused to do upon the sole ground that he had no power or jurisdiction to compel the defendant to answer.
A number of questions have been elaborately argued by counsel that are disposed of by our recent decision in the *Page 215 case of Burns v. Superior Court, ante, p. 1. It is there held — contrary to the decision in Lezinsky v. Superior Court, 72 Cal. 510 — that the refusal of a witness in a proper case to attend and give his deposition before a notary is one of the contempts of court defined by section 1209 of the Code of Civil Procedure which the court having jurisdiction of the action in which the deposition is to be used may deal with in the same manner that it may deal with other contempts not committed in its immediate view and presence. Under the law as thus declared there can be no doubt that this witness was guilty of a contempt in refusing to answer any question relating to the matters in controversy, — for this was a refusal not only to answer questions of doubtful or disputed pertinency, but was a refusal to answer any and every question that might be asked, however material and unobjectionable. There is equally little doubt that the court of which the respondent is judge could have punished the contempt by a fine, and that it could in addition have committed the witness to jail until he consented to answer. For if the court in which an action is pending can punish a witness for refusing to testify before a notary, there is no possible reason why it cannot punish him for refusing to answer when the deposition is being taken before the judge of that court.
The only question that could arise in such case would be as to the procedure for enforcing the authority of the court. It might be contended that it would be necessary, as a foundation for any further proceeding against the witness, to lay before the court a formal complaint in writing duly verified, setting out the facts already within the knowledge of the judge, and thereupon to issue an attachment, citation, or order to show cause as in other cases of contempt not committed in the immediate view and presence of the court.
This contention could not be denied if the judge taking the deposition, under the circumstances disclosed by this petition, is to be regarded as a mere ministerial functionary, endowed with no more authority than a notary public or other officer empowered to administer oaths, for in such case, according to the decision of Burns v. Superior Court, ante, p. 1, the contumacy of the witness must be reported to the court, and the punishment, if any, inflicted by the court. *Page 216
This case, however, differs from the Burns case in a most important particular, and the authority of the judge himself to punish the witness and compel him to answer without resorting to the court for that purpose is supported by provisions of the code which have no application to notaries and other ministerial officers.
By section 177 of the Code of Civil Procedure it is provided that —
"Every judicial officer shall have power:
"1. To preserve and enforce order in his immediate presence, and in proceedings before him, when he is engaged in the performance of official duty;
"2. To compel obedience to his lawful orders as provided in this code;
"3. To compel the attendance of persons to testify in a proceeding before him, in the cases and manner provided in this code;
"4. To administer oaths to persons in a proceeding pending before him, and in all other cases where it may be necessary in the exercise of his powers and duties."
and by section 178, that —
"For the effectual exercise of the powers conferred by the last section, a judicial officer may punish for contempt in the cases provided in this code."
To take evidence in the form of depositions is a function which while it may, for the sake of convenience, be sometimes delegated to notaries and other non-judicial officers, is nevertheless more especially the function of the judge before whom a cause is pending in which the depositions may be required. The taking and certifying of depositions by a notary is strictly analogous to the taking and reporting of testimony by a referee. It is a portion of the judicial function that may be delegated; and as long as witnesses consent to answer proper questions, the referee or notary may act as efficiently as the judge himself in reducing the evidence to a form in which it may be used at the trial. But the power to punish for contempt in refusing to answer, or of committing to prison until a witness consents to answer, is a judicial function which cannot be delegated. The referee in such case must report his contumacy to the court and leave to the *Page 217 court the determination of the question whether a contempt has been committed and how it is to be punished.
This, however, is only because the legislature cannot confer upon a non-judicial officer powers in their nature essentially judicial, and, therefore, the statute (Code Civ. Proc., sec.1991) which attempts to empower any officer issuing a subpœna to punish for contempt is only unconstitutional as to non-judicial officers. As to the judge in whose court an action is pending, — the judge invested with power to do any and everything looking to the trial and final disposition of the cause which the rules of practice prescribed by the legislature authorize him to do, — when he consents to take the deposition of a witness, he is acting not as a mere ministerial functionary, but in the discharge of his duty as a judge, and is armed with all the powers of a judge in chambers.
The cause itself is a proceeding before him; it is a cause pending in his court, awaiting his final judgment, and in every step of the process wholly within his jurisdiction. The taking of a deposition to be used on the trial of the cause is a proceeding in the cause, and when the judge himself is acting it is a proceeding before him. He may therefore under the provisions of the code above cited (Code Civ. Proc., secs. 177, 178) order the attendance of witnesses to give their depositions and command them to answer proper interrogatories. If his orders are disobeyed, he may punish summarily for the contempt. (Code Civ. Proc., sec. 1211.) He is not, like the notary in such case, a mere ministerial functionary, endowed with no power except to write down what a witness consents to say; he is the judge of the court in which the cause is awaiting trial, and he is engaged in the performance of the legitimate judicial duty of securing to a party the means of producing at the trial the evidence necessary to sustain his action or defense. What reason, then, can be urged against his power and duty to enforce obedience on the part of a witness giving his deposition that could not be urged with equal force against the right of any judge in chambers to compel a witness to answer in any other proceeding. I can conceive of none, and I am fully persuaded that if the statutes of this state relating to depositions had been from the beginning identical in all respects with those *Page 218 that we have, except only that they had limited the power to take depositions to the judges of the courts having jurisdiction of the causes in which the depositions were to be used, it never would have entered into the brain of any lawyer to contend that the judge taking a deposition was not performing a strictly judicial duty.
The views here expressed are not in conflict with anything decided in the Lezinsky case, and are even supported by what is implied in that opinion. It is there plainly intimated that among the officers empowered to take depositions there are some who have the power to punish a refusal to testify as a contempt, and evidently this was for the purpose of parrying the force of the argument that the effect of the decision would be to put it out of the power of a party ever to secure the deposition of an unwilling witness. The officers so indicated must have been the judges having jurisdiction of the causes in which the depositions were to be used.
We think that in this case the respondent should have compelled the witness to answer, and that he had no discretion to refuse to exercise the powers with which the law invested him so far as necessary to secure to the petitioners the right which the law confers upon them to take the deposition of the defendant in the action.
When the orderly proceedings of a court have been subjected to an unseemly interruption, and the only question is whether the offender shall be punished by fine or imprisonment, in order to vindicate the dignity of the tribunal, and as an example to others, the discretion of the court to punish or to condone the offense is absolute. But where the right of a party can only be secured by committing to prison a contemner of the lawful orders of a court until he offers to purge the contempt the exercise of the power to commit becomes obligatory. In such a case may meansmust. The respondent should have compelled the witness to answer, and if necessary should have resorted to the power conferred by section 1219 of the Code of Civil Procedure.
Mandamus is the proper remedy. There is no other adequate remedy, and where he has no discretion to refuse to act a judicial officer is as much subject to the mandate of a higher court as any other officer. (Merced Mining Co. v. *Page 219 Fremont, 7 Cal. 130; Ortman v. Dixon, 9 Cal. 23; Heinlen v.Cross, 63 Cal. 44; Temple v. Superior Court, 70 Cal. 211.)
Let a peremptory writ issue as prayed.
Van Dyke, J., and Henshaw, J., concurred.