Where any person is prosecuted of an offence under section 4, the burden of proving that he had not committed the offence under the said section shall be on him.