Notwithstanding any other provision of law, the sex of a prison inmate shall not prevent the Director of Corrections from assigning any prison inmate to academic or vocational training programs situated in correctional institutions established for the incarceration of offenders of the opposite sex.