In the cases provided for in this chapter, the accused may prove that he was misled as to the age of the minor, the status or age of the person accompanying him or the condition of the patient. If he proves this, no penalty will be applicable on this count.