The Chief Justice shall direct and order in the same manner the attendance of any district attorney upon any regular, adjourned or special session of the court for the prosecution of any criminal case or the prosecution or defense in any case in which the state or any county thereof is interested at any regular, adjourned or special session of court or to attend upon any preliminary trial or application for bail or habeas corpus either in or out of his circuit.