The Commissioner of the Department of Corrections shall release into the custody of the United States Bureau of Prisons, or its authorized representative, any person in the custody of the Department of Corrections whose federal sentence exceeds his or her sentence in Alabama unless he or she was convicted of a Class A felony or a sex offense defined pursuant to Section 15-20A-5.
Ala. Code § 14-1-1.6 (1975)