If you are pulled over by a cop, you can deny them the right to search in your car however they will get a warrent to search your car very quickly. Cops are very tricky like that. If you don't rat out your dealer, that worst that you're looking at is maybe 6 months or so of probation and some fines. If you were caught with a little over a gram it's simply a misdemeanor. Nothing major's going to happen. Unless you have a huge record or something. It's not that bad. Same thing happened to me and a friend of mine. Cop pulled us over for swerving, asked us if we had any drugs, we said no, he searched and found a couple grams of dro, my buddy got 6 months probation and thats it. Also the charges were dropped from possession to use. So yeah, you're good as gold. There is NO chance of juvie. Believe me.