What is the history of coffee beans in sambuca?

I own a wine/liquor shop and just today heard from an importer of Sambuca that beans were put in glasses of sambuca by European underground members to alert US and British military to not speak openly in a bistro/cafe because German undercover agents were on site. Supposedly a 4th bean meant to get out or prepare for a fight.