The secretary or his designee is hereby authorized and directed to do all things necessary or incidental to the carrying out of the compact in every particular except that no contract for the confinement of inmates in the institutions of this State shall be entered into unless the secretary has first determined that the inmates are acceptable, notwithstanding the provisions of Article IX-B of the act of April 9, 1929 (P.L. 177, No. 175), known as the Administrative Code of 1929. The secretary or his designee shall not enter into a contract pursuant to Article III of the compact relating to inmates who are mentally ill or mentally retarded without consultation with the Secretary of Public Welfare.
61 Pa.C.S. § 7103