When a treaty is in effect between the United States and a foreign country providing for the transfer of convicted criminal offenders who are citizens or nationals of foreign countries to the foreign countries of which they are citizens or nationals, the governor is authorized, subject to the terms of such treaty, to act on behalf of the state of New Mexico and to consent to the transfer of the convicted criminal offender.