Different countries have different fair use policies; medicinal, cooking spice, versus contraband/ intoxicant usage.
They are widely used in cuisines across the globe.
There might be nations where it’s easier to buy a local ‘legally certified’ supply / packet than to fly in with your own.
From Wikipedia and other googling I find that Singapore, UAE & some middle eastern nations deem it as illegal.
Are there any another places/ nations where carrying this as a food cooking spice could/ would be illegal and/ or risky?