The petitioner seeks a writ of mandamus under G. L. c. 249, § 5, directing the respondent treasurer and respondent commissioners of Worcester County to pay it the amount of $86 for a tape recorder and three tapes purchased by a judge of the Superior Court for use during criminal sittings in the county. See G. L. c. 35, § 35. The case is reported to us without decision upon the petition, the respondents’ answer, and a statement of agreed facts. G. L. c. 213, § IB; c. 231, § 111.
The petitioner is a retail appliance store doing business in Worcester County. On March 25, 1971, a judge of the Superior Court sitting in Worcester forwarded to the respondent treasurer an invoice from the petitioner, dated March 24, 1971, in the amount of $86 for the tape recorder ($80) and the tapes ($6). Upon the invoice was written the following: “3/25/1971. Approved for payment. John H. Meagher, J[udge] S[uperior] C[ourt].” In a letter accompanying the invoice, the judge certified that the tape recorder was a “necessary expense” of the court made “[t]o obviate a temporary closing of a [criminal] session” when no stenographer was available. Since its purchase, the tape recorder has been used in the Worcester Superior Court in criminal matters and, upon agreement of counsel, also in civil matters. The respondent treasurer has refused to make payment for the machine and the tapes.
In support of his refusal, the respondents argue that the Superior Court has no authority to bind a county for the payment of goods and services except under G. L. (Ter. Ed.) c. 213, § 8, 1 and that the statute does *509 not apply here where a purchase by the court is involved. We reject these contentions.
1. Even apart from statutory provisions, we are of opinion that a judge may bind a county 2 contractually for expenses reasonably necessary for the operation of his court, and that he may issue an ex parte order for the payment of any obligation so incurred.
Under our Constitution, the courts of the Commonwealth constitute a separate and independent department of government entrusted with the exclusive power of interpreting the laws. Massachusetts Constitution: Preamble, Declaration of Rights, art. 30; Frame of Government, c. 3. In erecting this tripartite form of government, our first citizens meant to secure to themselves, and their successors, every natural right of free men. Id., Preamble. The intimate relationship between these rights and the judicial power is made clear in art. 29 of the Declaration of Rights: “It is essential to the preservation of the rights of every individual, his life, liberty, property, and character, that there be an impartial interpretation of the laws, and administration of justice.” Also it is provided in art. 11: “Every subject of the Commonwealth . . . ought to obtain right and justice freely, and without being obliged to purchase it; completely, and without any denial; promptly, and without delay; conformably to the laws.”
From these provisions, it necessarily follows that “courts of general jurisdiction . . . have the inherent
*510
power to do whatever may be done under the general principles of jurisprudence to insure to the citizen a fair trial, whenever his life, liberty, property or character is at stake.” Justice, later Chief Justice, Rugg in
Crocker
v.
Superior Court,
It is axiomatic that, as an independent department of government, the judiciary must have adequate and sufficient resources to ensure the proper operation of the courts. It would be illogical to interpret the Constitution as creating a judicial department with awesome powers over the life, liberty, and property of every citizen while, at the same time, denying to the judges authority to determine the basic needs of their courts as to equipment, facilities and supporting personnel. Such authority must be vested in the judiciary if the courts are to provide justice, and the people are to be secure in their rights, under the Constitution.
We hold, therefore, that among the inherent powers possessed by every judge is the power to protect his court from impairment resulting from inadequate facilities or a lack of supplies or supporting personnel. To correct such an impairment, a judge may, even in the absence of a clearly applicable statute, obtain the required goods or services by appropriate means, including arranging himself for their purchase and ordering the responsible executive official to make payment.
*511
It is not essential that there have been a prior appropriation to cover the expenditure. Where an obligation is thus legally incurred, it is the duty of the State, or one of its political subdivisions, to make payment. Massachusetts Constitution, Declaration of Rights, art. 10, as amended. Cf.
Opinion of the Justices,
2. The principles expressed today are recognized not only in Massachusetts but throughout the nation.
In a recent case, the Supreme Court of Pennsylvania affirmed, with minor modifications, an order compelling the mayor and city council of Philadelphia to provide funds necessary for the operation of a municipal court. The Supreme Court said: “Because of the basic functions and inherent powers of the three co-equal Branches of Government, the co-equal independent Judiciary must possess rights and powers co-equal with its functions and duties, including the right and power to protect itself against any impairment thereof. . . . Expressed in other words the Judiciary
must possess
the inherent power to determine and compel payment of those sums of money which are reasonable and necessary to carry out its mandated responsibilities, and its powers and duties to administer Justice, if it is to be in reality a co-equal, independent Branch of our Government.”
Commonwealth ex rel. Carroll
v.
Tate,
There have been similar decisions by the highest courts of several States as well as Pennsylvania within the last
*512
decade. In
Smith
v.
Miller,
Likewise, it was said in
Carlson
v.
State ex rel. Stodola,
*513
An earlier statement of the inherent power of the judiciary is found in
In re Court Room & Offices of the Fifth Branch of the Circuit Court, Milwaukee County,
3. It is well recognized that the General Court, pursuant to its general police powers, may enact legislation which declares or augments the inherent powers of the judiciary.
6
See
Collins
v.
Godfrey,
' With respect to the statute involved in the instant case, the respondents argue that, inferentially, G. L. c. 213, § 8, forbids a judge from requiring a county to pay for the court’s expenses at a criminal sitting, although the section clearly permits him to order counsel fees paid from the county treasury. We reject this construction.
The respondents' attach undue significance upon the fact that cases arising under G. L. c. 213, § 8, until now, have involved controversies over expenses incurred by prosecutors or defense counsel. See
Rooney
v.
County of Essex,
While G. L. c. 213, § 8, by its terms, does not expressly authorize a judge to procure necessary court supplies at a county’s expense, the statutory language
9
certainly would not preclude this practice. A contrary interpretation of the statute would leave it open to constitutional challenge as an unreasonable limitation upon the inherent power of the Judiciary. See
Loriol
v.
Keene,
4. We are mindful that exercise of this inherent power is a duty which must be borne responsibly. A spirit of mutual cooperation among the legislative, executive, and judicial departments is unquestionably the people’s best guaranty of constitutional government. It is therefore incumbent upon the members of the judicial department to proceed cautiously, and with due consideration for the prerogatives of the executive department and the *516 Legislature, whenever exercise of an inherent judicial power would bring us near the sphere of another department.
It has been wisely observed: “The very conception of inherent power carries with it the implication that its use is for occasions not provided for by established methods. . . . [Only w]hen . . . [established] methods fail and the court shall determine that by observing them the assistance necessary for the due and effective exercise of its own functions cannot be had, or when an emergency arises which the established methods cannot or do not instantly meet, then and not till then does occasion arise for the exercise of the inherent power.”
State ex rel. Hillis
v.
Sullivan,
As the highest court in this State under the Constitution, we possess ample authority to make certain that the power to bind government contractually is exercised only upon proper occasions. See G. L. c. 211, § 3, as amended through St. 1956, c. 707, § 1. See also
Collins
v.
Godfrey,
Where a judge exercises his inherent power under the proposed new rule and G. L. c. 213, § 8, we recognize *517 that there may be occasions where county officials have legitimate doubts as to the validity of the judge’s order. In such event, the county treasurer may properly seek declaratory relief under G. L. c. 231 A. See G. L. c. 35, § 11. Unless there is a determination that the judge’s order is void as an abuse of discretion, the treasurer must make payment in accordance with the terms of the order. See G. L. c. 35, § § 10,14.
In the instant case, the respondent treasurer has not attempted to question the necessity of the tape recorder and tapes, nor did he seek a declaratory decree earlier on this score. Had he done so, the conclusion would have been that there was no abuse of discretion on the part of the judge who ordered payment. Clearly, the purchase of a tape recorder and tapes was warranted where the only alternative to purchase was to suspend the criminal sitting indefinitely until a stenographer could be obtained. Even under the strict rules to be established pursuant to this decision, an emergency was presented making it unnecessary to obtain prior approval from a superior judicial officer.
5. The final matters to be considered concern the remedy sought by the petitioner.
While the petitioner might have sought enforcement of the county’s obligation through a contract action or a petition in equity,
10
we think that mandamus is also an appropriate remedy. See G. L. c. 35, § 35. See also
Reading
v.
Attorney Gen. ante
266, 267. The respondent treasurer is correct in stating that mandamus will not lie to compel a public official to do a discretionary act.
Hobart
v.
Commissioner of Corps. & Taxn.
A different issue arises as to the respondent county commissioners. The petitioner indicates no way in which the commissioners are involved in the instant case. While county commissioners must approve many county expenses before payment can be made, the expenses of courts are clearly not subject to their supervision. G. L. c. 35, § 11. This exemption has always existed (see St. 1785, c. 76; Rev. Sts. c. 14, § 50) and, apart from any statutory provision, is implied by the constitutional status of the judiciary as an independent department of government. Cf.
Powers
v.
Isley,
6. The petition is to be dismissed in so far as it relates to the county commissioners. A writ of mandamus is to be issued directing the respondent treasurer to pay the petitioner the amount of $86, with interest.
So ordered.
Notes
“The [supreme judicial and superior] courts shall, respectively, receive, examine and allow accounts for services and expenses incident to their sittings in the several counties and order payment thereof out of the respective county treasuries.” Compare G. L. c. 215, § 53 (concerning the Probate Courts) ; c. 218, § 39 (concerning the District Courts).
Nothing stated herein should be taken to mean that the Commonwealth may not be bound in the same manner. In Massachusetts, as in many other jurisdictions, “the expenses of justice are incurred for the benefit of the State, . . . [but are generally] charged against the counties in accordance with old usage”
(Stowell
v.
Board of Supervisors for Jackson County,
Other Pennsylvania cases include
Commonwealth
v.
Clue,
Other Indiana cases are
Dunn
v.
State ex rel. Corydon,
Bates
v.
Independence County,
Statutes governing the jurisdiction of inferior courts are another matter entirely. By virtue of the authority conferred by Part II, c. 1, § 1, art. 3, of our Constitution, the General Court may “erect and constitute” courts in addition to the Supreme Judicial Court and may fix, and at any time, modify their jurisdiction. See
Russell
v.
Howe,
*514
See also article by Chief Justice Gray in 21 Monthly L. Rep. 65-83 (June, 1858). For the general police powers conferred upon the Legislature, see Part II, c. 1, § 1, art. 4, of the Massachusetts Constitution, discussed by Knowlton, C. J., in
Commonwealth
v.
Strauss,
See also
Clark, petitioner,
Significantly, this court, at least as early as 1771, recognized the authority of lower courts in this regard. In 1771, .there occurred the first criminal case lasting more than a day and requiring overnight provisions for jurors. The justices of the then Superior Court of Judicature passed the following order: “[T]hat it be recommended to the Court of General Sessions of the Peace to make the Jurors . . . and also the Officers who kept them, a reasonable [allowance for . . . [their] services . . ..” Quincy’s Massachusetts Reports, 382-386 (reporting a newspaper article concerning Preston’s Trial).
The language is essentially unchanged since 1809. See St. 1808, c. 53; Rev. Sts. c. 82, § 46; St. 1859, c. 196, § 20; Gen. Sts. c. 115, § 17; Pub. Sts. c. 153, § 23; R. L. c. 158, § 8. Earlier versions of the statute are St. 1764-65, c. 26, § 6 (4 Prov. Laws, 750-751) ; St. 1782, c. 55; and St. 1791, c. 53, § 2.
See
Rooney
v.
County of Essex,
