The legislation which deals with this is the Criminal Code Act 1913 at Section 22 (2). It provides as follows:
A person is not criminally responsible, as for an offence relating to property, for an act done or omitted to be done by him with respect to any property in the exercise of an honest claim of right and without intention to defraud.