As necessary for the assertion or protection of any right or interest of the state, the attorney general shall have authority
(2) upon the written request of a district attorney, to advise and assist in the prosecution of any criminal case; and
(3) for cause, when authorized by the court which would have original jurisdiction and subject to judicial review,
(b) to supersede any attorney representing the state in any civil or criminal action.


