(1) A magistrate who performs a function under the Act in a State or Territory has the same protection and immunity as a Judge of the Supreme Court of the State or Territory has in the performance of his or her duty as a Judge of the Supreme Court.
(2) A legal practitioner appearing before a magistrate in a State or Territory in connection with the performance by the magistrate of a function under the Act has the same protection and immunity as a legal practitioner has in representing a party in proceedings in the Supreme Court of the State or Territory.
(3) If a person who is not represented by a legal practitioner appears before a magistrate in a State or Territory in connection with the performance by the magistrate of a function under the Act, the person has the same protection and immunity as a party to proceedings in the Supreme Court of the State or Territory has when appearing before that Court when not so represented.
(4) A witness summoned to attend or appearing before a magistrate who performs a function under the Act in a State or Territory has the same protection and immunity as a witness in proceedings in the Supreme Court of the State or Territory.