The institutional division may confine only minimum or medium security inmates in a facility authorized by this subchapter. An inmate confined in a facility authorized by this subchapter remains in the legal custody of the institutional division .