You have read the decision?No, I never said that. We are leaving because we had a democratic vote.
However, the off shoot of that is the UK's standards are higher, in this particular requirement*, than the EU's. The EU's response was to whine, instead of protecting its population by raising its standards to meet the UK's more stringent requirements.
I think there was talk of a legal challenge.
*And I suspect many more requirements!
These kind of rulings are fairly trivial for the most part and are often appealed.