The secretary of corrections is authorized to contract with the United States attorney general for the custody, care, housing, subsistence, education, treatment and training either of persons convicted of criminal offenses in the courts of New Mexico in order that they may be housed in United States prisons or correctional facilities for these purposes or of persons convicted of criminal offenses in the courts of the United States in order that they may be housed in New Mexico correctional facilities for such purposes.
NMS § 31-5-19