45-9-204. Immunity from liability. (1) Except as provided in subsections (2) and (3), if a court imposes mandatory service under 45-9-202(2)(c) or community service under 45-9-202(2)(d), a public or private agency supervising the service, treatment, or education program in which the defendant is participating and the officers, agents, and employees of the public or private agency are immune from liability to the defendant for any acts or omissions alleged to have occurred within the course and scope of supervision.
(2) The immunity provided in subsection (1) does not extend to acts or omissions alleged to constitute gross negligence or intentional acts.
(3) The immunity provided in subsection (1) for a public agency does not extend to claims for workers' compensation benefits when the defendant is injured while performing community service.