This cause is bere on appeal from a judgment of the Court of Appeals sustaining a demurrer to and dismissing a petition in mandamus and prohibition, filed originally in that court.
In bis petition, relator sought to prevent tbe enforcement of an order for relator to submit to a psychiatric examination, ordered by respondent Judge Gerald Baynes.
That order was made by Judge Baynes, a judge of tbe Common Pleas Court of Madison County sitting by assignment in Lucas County, in an action filed by relator in tbe Common Pleas Court of Lucas County.
In this court, relator-appellant contends that Judge Baynes is a judge of tbe Common Pleas Court of Madison County; that be is acting as judge in Lucas County without authority; and that be bad no authority to make tbe order complained of.
Section 4 (A), Article IV of tbe Ohio Constitution, provides, in pertinent part:
“There shall be a Court of Common Pleas in each county of tbe state. Any judge of a Court of Common Pleas may temporarily bold court in any county,”
*130Section 5(A)(3), Article IV of the Ohio Constitution, provides:
“The Chief Justice * * * as necessity arises, shall assign any judge of a Court of Common Pleas temporarily to sit or hold court on any other Court of Common Pleas
Section 2503.04, Revised Code, provides, in pertinent part:
“ * # * When an unusual number of cases have accumulated in the Court of Common Pleas of any county, the Chief Justice may, without request, assign judges from
other counties to aid in the disposition of such business. # # # > >
The record in this case discloses that on February 14, 1969, the Chief Justice of this court assigned Judge Baynes to preside and hold court in Lucas County on the January 1969 term of court.
The extraordinary writs of prohibition and mandamus may not be used to prevent the rendering of an alleged erroneous judgment by a court in a cause which it is authorized to adjudicate or as a substitute for an available, ordinary and adequate remedy. State, ex rel. Pressley, v. Indus. Comm., 11 Ohio St. 2d 141. The judgment of the Court of Appeals is affirmed.
Judgment affirmed.
Taft, C. J., Matthias, O’Neill, Schneider, Strausbaugh, Duncan and Corrigan, JJ., concur. Strausbaugh, J., of the Tenth Appellate District, sitting for Herbert. J.