Where a person is charged with an offence under section 47, 51A, 52 or 53 of this Act, he shall not be convicted of the offence unless either -
(a) he was warned at the time at which the offence is alleged to have been committed, or within twenty-four hours thereafter, that the question of prosecuting him for an offence under some one of those sections would be considered, or
(b) within fourteen days after the commission of the offence, a summons for the offence was served on him, or
(c) within those fourteen days a notice in writing stating the time and place at which the offence is alleged to have been committed and stating briefly the act or acts alleged to constitute the offence and stating the intention to prosecute him therefor was served personally or by registered post on him or (in the case of a mechanically propelled vehicle) on the registered owner of the vehicle in relation to which the offence is alleged to have been committed:
Provided that -
(i) failure to comply wi