Don't "accept the charges". Just let the process run its course and attend the court date on the prescribed day. Talk to the prosecutor on the court date and make sure it's clear that this is a by-law infraction and not the HTA charge. If it really is by-law and not HTA, I'd just plead guilty and pay it.

By letting the process run its course, you still have the possibility of the officer not showing up or something else going wrong with the system.

The officer already did you a favor by charging under by-law rather than HTA.