The rights and powers conferred upon the State board and the commissioner by sections 30:1-14, 30:1-15 and 30:1-16 of this Title, so far as they relate to the investigation of the institutions and noninstitutional agencies enumerated therein may be enforced by a civil action against the officer or board having charge of the institution, brought in the Superior Court. The court may proceed in the action in a summary manner or otherwise.
If, in the opinion of the commissioner or the State board, any matter with regard to the management or affairs of any such institution or any inmate or person in any way connected with either required legal investigation or action of any kind, notice thereof may be given by the commissioner or the State board to the county prosecutor of the county, and he shall thereupon make inquiry and take such proceedings in the premises as he may deem necessary and proper. It shall be the duty of the county prosecutor when so required to furnish such legal assistance, counsel or advice as the commissioner or the State board may require in the discharge of his or its duties.
N.J.S. § 30:1-17