My question involves criminal law for the state of: California

I was stopped walking to a bar about 10 feet from the front door with an energy drink that had a very low amount of alcohol, a friend had offered and i accepted feet before i was pulled over by a police officer on a motorcycle..he had made me empty the drink on the side of the road and wrote me a citation for drinking in public, 7.17.010 FUMC. I was given the citation, told me to show up in court and pay the fine.

however I noticed that both I and M on my ticket are circled, meaning infraction and misdemeanor. however when I went online to look in the OCCourts.org case index, it shows as a misdemeanor (because that is what the muni code says that law is under)...i have court on July 7th and am curious if I need a lawyer or will this be brought down to an infraction, i have nothing on my record not even a speeding ticket.

a friend of mine also received a drunk in public however in the city of Newport Beach and was given a fine and left alone. I cannot afford a misdemeanor as I am job hunting, also opening a bar/restaurant with my father and will need to apply for a liquor license alongside him, as well as im a pre-med student in college and dont want that to affect me.

if someone could let me know how to go about this properly it would be much appreciated, there was a post about a month ago for this and never heard the result, but heard responses that the judge would drop to an infraction, not quite sure. Thanks!