tion of the sending state and may at any time be removed therefrom for transfer to a prison or other institution within the sending state, for transfer to another institution in which the sending state may have a contractual or other right to confine inmates, for release on probation or parole, for discharge, or for any other purpose permitted by the laws of the sending state; provided that the se