Prosecution 'forgot' to ban teacher