I was thinking along the lines (no pun intended , I think) of a 'covert/stash' container for cocaine , which had also gained some popularity , esp in France .
It is known that some 'upper-class' folks would keep the 'new' drug around to 'spice-up' alcoholic drinks &/or to make their own version of "Vin Ariani".
There was a time that cocaine was considered as a treatment for opium addiction (late 1800's thru early 1900's) ; I've seen a silver 'stash' container about 4 inches tall , from 1890's (French) , that was a depiction of a 'devil' with a hollow interior & a small 'straw' inside , with a screw-off base - obviously for concealment .... don't recall if there were hallmarks & etc. on it .
I'm really unsure of exactly what the OP has there , other than the feeling that this item was used as a covert/concealment container for small 'things' ... even as a pill-box for containing treatment 'medications' that the owner would not like others to know about , as in V.D. & such .
Sayings spring to mind (mine , anyways) such as : key(s) to -health , happiness , success , understanding , the city & so on .