Quote Quoting MCL 257.637 Overtaking and passing on right of another vehicle; conditions; violation as civil infraction.
(1) The driver of a vehicle may overtake and pass upon the right of another vehicle only if 1 or more of the following conditions exist:
(a) When the vehicle overtaken is making or about to make a left turn.


(b) Upon a street or highway with unobstructed pavement not occupied by parked vehicles of sufficient width for 2 or more lines of moving vehicles in each direction and when the vehicles are moving in substantially continuous lanes of traffic.


(c) Upon a 1-way street, or upon a roadway on which traffic is restricted to 1 direction of movement, where the roadway is free from obstructions and of sufficient width for 2 or more lines of moving vehicles and when the vehicles are moving in substantially continuous lanes of traffic.
(2) The driver of a vehicle may overtake and pass another vehicle upon the right only under conditions permitting the overtaking and passing in safety. The driver of a vehicle shall not overtake and pass another vehicle upon the right by driving off the pavement or main-traveled portion of the roadway.


(3) A person who violates this section is responsible for a civil infraction.
You admit that you left the pavement, ergo the charge.