and to put context into EU, lets also remember that this is the same legislative body that until a few years ago would have farmers scrap perfectly good cucumbers if their bend is too big. the EU is utterly out of control, and legislates EVERYTHING, most often poorly. They would also tell you how fast you're allowed to vacuum your livingroom.
The older regulations included shape in the specifications for Class I cucumbers, Class II cucumbers, etc, as well as other measures of quality. Nothing prevented the supermarket or restaurant from buying unclassed cucumbers, though that category would include cucumbers not reaching Class I/II for other reasons (size, taste, colour/ripeness etc).
The change to the regulation removed shape from Class I and Class II, so they're more likely to be sold for the higher price, and the supermarkets can't reject vegetables for being the wrong shape.
So there was never a ban on selling vegetables of the "wrong" shape, but there were rules to categorize vegetables by shape as part of their overall quality. The EU harmonized these rules across the whole EU (that's the whole point of the Common Market), then later scrapped them and told the supermarkets they'd have to deal with the occasional knobbly carrot.
(This is my approximate understanding, I may have the numbers backwards or whatever.)
I'm sure Waitrose (choose your local above-average supermarket) can market it just fine. "Organic cucumbers traditionally grown with natural character." Job done.
Restaurants, canteens and ready-meal producers can easily buy these too.