The Department of Corrections and Rehabilitation may use portable or temporary buildings to provide rehabilitation, treatment, and educational services to inmates within its custody, or to house inmates, as long as that housing does not jeopardize inmate or staff safety.