I've been in a similar situation, though, I actually was holding, and had a piece with me at the time. I got a way with it by knowing the law and my rights, but my friends ended up getting busted (however, they ended up with the case dismissed because of lost evidence and illegal actions by the cops [though I believe this had to do more with the lawyers efforts, as there was no proof they did anything wrong, as cops voices are more prominent and accepted than defendants]). Its never fun to be in that situation.