Nothing which is done in good faith for the benefit of a person under twelve years of age or of unsound mind by or by consent either express or implied of the guardian or other person having lawful charge of that person is an offence by reason of any harm which it may cause or be intended by the doer to cause or be known by the doer to be likely to cause to that person.