My question involves criminal law for the state of: california
wellp, ill start off by saying YES i was stupid and careless, however id like to keep the negative comments to a min and please just give me some advice. i have never been involved with any legal matters in anyway. no tickets, no nothing.
yesterday me and 2 friends were at hunnington beach, we paid to park and proceeded to drink a fifth of jagermeister in my car in the parking lot. we had smoked a blunt earlier that day on the drive down. and i had a very small amount of marijuana in my jar (0.3Grams) AT MOST. my friend was spotted standing by the passenger door with the bottle in his hand by a lifeguard police officer. when we noticed he threw the bottle in my car and i shut and locked the doors right as the officer approached. he was simultaneously telling me to NOT shut my door as i was already swinging it closed. it was locked. he grabbed my arm and said "i told you to not shut it!" he said i already seen the bottle and i smell the pot. he told us to sit down. i began to sit Indian style on the asphalt when he grabbed my arm and yelled and said to sit on the curb. he asked us repeatedly if there was any weed in the car. my friend who was sitting in the back seat said yes, as did I. my wallet was in the center console sitting on top of the jar of weed. so i knew it was inevitable before it was found. he called for back up and then told me i needed to hand over my keys, which were on my lanyard around my neck, as they were when he first seen me(i was in the passenger seat) he took them and proceeded to search my car. he found the jar and baggy of weed along with the bong. he poured the bong water on my passenger seat(uncalled for, as well as unprofessional). he tried to say that there was a baggy of weed in my other friends shoe(which there was NOT),then as he filled out some paperwork he mentioned to the other elderly officer that was watching over us that, "hey, guess what time it is? its 420" and yes, he did write 420 as the time on the ticket. (smart ass) i ended up getting a ticket for possession of marijuana less then one ounce, which i have been told it is a 100$ fine. HOWEVER, he never asked if it was mine he just assumed(as he should have because it was my car) BUT this is my first offense in anyway shape or form. it was not mine. my friend who was drinking got a ticket for "posted no alcohol" and he said he shoulda got the ticket for possession too.
i guess what im asking is if when i go see the judge i plead not guilty, and explain that i was actually being the responsible party, i was the DD and was not altered. the weed was NOT mine. my friend will be there with me at court and will 100% agree that it was his weed and at no point the officer asked any of us who's it was. i am prepared to provide a CLEAN drug test if necessary.

