(1) A correctional officer may, if requested to do so by a police officer or a person employed in the Department of Justice, provide assistance in connection with the restraint, conveyance or detention of any person in the lawful custody of the officer requesting the assistance.
(2) A correctional officer has, while providing such assistance, all the functions and immunities of the officer who requested the assistance in relation to the restraint, conveyance or detention of the person concerned.