Mistake of age
(4) It is not a defence to a charge under section 151 or 152, subsection 160(3) or 173(2), or section 271, 272 or 273 that the accused believed that the complainant was 16 years of age or more at the time the offence is alleged to have been committed unless the accused took all reasonable steps to ascertain the age of the complainant.
Idem
(5) It is not a defence to a charge under section 153, 159, 170, 171 or 172 or subsection 212(2) or (4) that the accused believed that the complainant was eighteen years of age or more at the time the offence is alleged to have been committed unless the accused took all reasonable steps to ascertain the age of the complainant.
Mistake of age
(6) An accused cannot raise a mistaken belief in the age of the complainant in order to invoke a defence under subsection (2) or (2.1) unless the accused took all reasonable steps to ascertain the age of the complainant.