It is not a defence to a charge in proceedings under any of sections 18 to 26 that A believed that B had attained the age of 13 years.