The ban on curved cucumbers is a myth spread by the British tabloids.
They did not ban curved cucumbers, they simply provided rules for classification of fruits and vegetables so that buyers know what they are purchasing.
See: https://blogs.ec.europa.eu/ECintheUK/straight-cucumbers/