An agency or officer of the State of Alaska having power to commit or transfer an inmate to an institution for confinement may commit or transfer the inmate to an institution inside or outside the State of Alaska, if the State of Alaska has entered into a contract for the confinement of inmates in the institution under Article III of the Interstate Corrections Compact.