Who said EU wide?
The rules are clear, changes in EU rules must be unanimous. Typically, governments agree to changes affecting their countries' constitutions and sovereignty w/out consulting voters (how democratic! /s).
Occasionally a government will allow a vote. And when they lose, they ignore the vote.