5. Correctional officers shall have the status of peace officers
(1) in the correctional facility and on the lands occupied by the facility, with respect to any person in the facility or on the lands;
(2) with respect to any person in their custody outside the facility; and
(3) with respect to offenders in whose respect a warrant has been issued under section 68 or 161 or in whose respect there is reasonable cause to believe that a warrant under either of those sections will soon be issued.
However, in the latter case, the person arrested must be released if the warrant is not in fact issued within 12 hours.