I've only very recently found that Wikipedia explains very clearly all about what is going on with the decorative poppy pods that you can buy legally - they are bread for arts and crafts and not for their alkaloids.
It seems that a few years ago there was a number of vendors who cleverly / sneakily bypassed the law by exploiting this loopohole, selling alkaloid rich pods as arts and crafts pods.
I don't know of any such vendors right now.
However, even the 'arts and crafts' pods do have some 'medicinal properties' although nobody is ever going to get high from them.
"Decorative Dried Flower producer/growers and wholesalers,
[6] hand pick the decorative mature seeded pods/heads with or without the stalks for use as floral decorations for visual gratification in arrangements. These are then mechanically dried at high temperatures in large kilns to render insects dead and the seeds unviable so that the harvest consists almost entirely of the dried flowered seeded pods/heads (for ease of transport, artificial stems are added afterwards, e.g.
bird seed wreath making, floral arrangements and wedding boutonnières or arts/craft projects). The seeds used for this market are especially chosen for the size and shape of the mature poppy seed pod/head and not alkaloid content. Many varieties, strains, and cultivars of
Papaver somniferum are in existence, and the alkaloid content can vary significantly."
en.wikipedia.org