The corrections department shall give over the person of any inmate whenever required by the operation of the Agreement on Detainers [31-5-12 N.M. Stat. Ann.].