(1) A person is not criminally responsible for an offence if the person carries out the conduct required for the offence in self-defence.
(2) A person carries out conduct in self-defence only if—
(a) the person believes the conduct is necessary—
(i) to defend himself or herself or someone else; or
(ii) to prevent or end the unlawful imprisonment of himself or herself or someone else; or
(iii) to protect property from unlawful appropriation, destruction, damage or interference; or
(iv) to prevent criminal trespass to land or premises; or
(v) to remove from land or premises a person committing criminal trespass; and
(b) the conduct is a reasonable response in the circumstances as the person perceives them.
(3) However, the person does not carry out conduct in self-defence if—
(a) the person uses force that involves the intentional infliction of death or serious harm—
(i) to protect property; or
(ii) to prevent criminal trespass; or
(iii) to remove a person committing criminal trespass; or
(b) the person is responding to lawful conduct that the person knows is lawful.
(4) Conduct is not lawful for subsection (3) (b) only because the person carrying it out is not criminally responsible for it.