If a petitioner is subsequently convicted of a similar offense that was committed while the petitioner was in a deferred prosecution program, upon notice the court shall remove the petitioner's docket from the deferred prosecution file and the court shall enter judgment pursuant to RCW
10.05.020.