He keeps his stash under those little hats.
That way the gendarmes are put off guard, wondering if the eccentric pianist is possibly a "Jew", or maybe even a "Muzzie", or maybe just plain bald headed!
So, they wave him through airport security, never suspecting that his hat is loaded with "joy powder" & good weed.