46-19-304. Commitment or transfer of inmate to institution outside of state. Any court or state agency having power to commit or transfer an inmate (as defined in Article II(4) of the Western Interstate Corrections Compact) to any institution for confinement may commit or transfer such inmate to any institution outside this state if this state has entered into a contract or contracts for the confinement of inmates in said institution pursuant to Article III of the Western Interstate Corrections Compact.