An officer of the law, acting under the authority and according to the requirements and direction of an Act of the Legislature, or of the Parliament of Canada, shall not be subject to an attachment, action, suit, fine or imprisonment for or by reason of any act or thing done by him or her under and by virtue of that Act. R.S.1973, c.P-20, s.1
In an action, suit or proceeding for, by reason of, or in consequence of any matter or thing done under and according to the provisions of any such Act, it is a good defence that the same was done under and according to the provisions of that Act; and the subject matter of the defence may be given in evidence under the general issue, or other defence to the action, suit or proceeding. R.S.1973, c.P-20, s.2; 1987, c.6, s.88
Any judge of the Provincial Court or officer appointed to preside over any inferior court, shall be deemed, for the purpose of this Act, to act within his or her jurisdiction who acts within a jurisdiction given or intended to be given by an Act of the Legislature, or of the Parliament of Canada, whether within or beyond the power of the Legislature or Parliament, as the case may be. R.S.1973, c.P-20, s.3; 1984, c.27, s.13