In Canada, we have many "activist" judges (and even worse Justices of the Peace) who will read a very broad intent into a law.LMAO - Spirit of the law. Most of us here break the law every day in one way or another.
We have even more judges who will interpret a law according to certain sets of facts.
I have no idea whether this section of the HTA has been interpreted as to legitimize the charges against the OP. Or, whether the officer has the same version of events as the driver. The advice to consult a legal opinion is good advice. And with your own lawyer present, asking for a meeting with the Prosecutor to determine whether the officer will claim that the bus was already stopped might also be useful: the Prosecutor could conceivably decline prosecution if that cannot be proven in court (i.e. by the officer's testimony). Or, the OP may decide to not fight the charge if it is going to come down to a case of his word against the officer's testimony.
But those are not things to pursue without proper legal advice.

