The police officers were making a routine patrol in the Pâquis area of Geneva when they came across a group of presumed drug dealers which quickly dispersed, reports newspaper Tribune de Geneve.
However one of the group approached the unmarked police car and got in the back seat before offering the police officers cocaine and marijuana.
When the cops expressed interest in the deal, the 18-year-old man called a friend to join them.
The second man, aged 26, then presented them with a packet containing a gram of marijuana.
The two men, of African origin, were subsequently arrested for drug and immigration offences.
Under questioning, the first man said he didn’t know why he got in the car and called his friend. The second admitted to wanting to sell marijuana but denied he was a drug dealer.