Spain. A couple of years ago I was in Madrid and went out to a bar with some friends. One of them tells me to come outside with him, then he proceeds to prepare some cocaine lines on the roof of a random car parked on the street right outside the bar. When he's about to snort them, some normal looking guys approach us (not in uniforms) and then all of a sudden they flash their badges (they were cops). I thought I was going to jail right there and then.
The cops asked for our ids and then started grilling us about where the cocaine came from, they said that if we gave up our dealer they would let us go. My friend was feeding them random info which they wouldnt buy. Then one of our friends who was inside the bar came outside looking for us. Somehow he realized what was going on at a glance, he walks up to the cops and asks what's going on. The cops tell him they caught us in possession of cocaine. Before they could keep talking, he cuts them off and demands that they write us a ticket and let us go. The cops are a little bit baffled and are about to say something when our friend tells them he's a lawyer, that he knows how these things work and sternly demands again they give us a ticket and let us go.
After that the cops didn't say a word. They just gave a ticket to my friend who had the cocaine (I didn't even get one), confiscated the cocaine and then let us go.
One of the biggest scares of my life.