(2) The court shall make such an order in Form 5.03 in relation to a person who is convicted, discharged under section 730 or found guilty under the Youth Criminal Justice Act or the Young Offenders Act, of an offence committed at any time, including before June 30, 2000, if that offence is a primary designated offence within the meaning of any of paragraphs (a.1) to (d) of the definition ???prima