The infraction/misdemeanor distinction is over in section 1200 of the code. It's at the discretion of the prosecutor.