s 31 Immunity for acts within jurisdiction
(1) No action lies against a justice of the peace in respect of what he does or omits to do— (a) in the execution of his duty as a justice of the peace, and (b) in relation to a matter within his jurisdiction. (2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .