My understanding is that the police lay the charge. If it's a second time that you're convicted, then in a sentencing hearing your criminal record goes before the sentencing judge. It will be known to all that it's a second conviction.
On March 29th, 2012. See this statement in context.