(1)A person within subsection (2) is not to be liable in any civil or criminal proceedings for anything done (or omitted to be done) in, or in connection with, the discharge or purported discharge of the person’s functions under this Act.
(2)The persons are—
(a)any enforcement officer;
(b)any person assisting an enforcement officer by virtue of section 260.
(3)Subsection (1) does not apply—
(a)if the act or omission is shown to have been in bad faith,
(b)if there were no reasonable grounds for the act or omission, or
(c)so as to prevent an award of damages in respect of the act or omission on the ground that it was unlawful as a result of section 6(1) of the Human Rights Act 1998 (c. 42) (acts of public authorities incompatible with Convention rights).