Even if this was passed by the Council of the EU [1] it would be passed by ministers representing over 55% of the states - and over 65% of the EU population - and could be blocked by 4 countries. Now - we can discuss if a government is a democratic institution, but I guess it's a bit of a stretch to argue otherwise.
In other words: democracy requires information and education, either at the EU or at state level. That's not the issue here.
Your country is not a passive agent in this: your country has a say and you need only four countries to stop this. If you believe that somehow you can influence your government when it's emanating laws locally, but not when - the same government - is voting in the Council, you are just doing some magical thinking.
The EU has one main problem: it's local politicians stoking the fire of "It's the EU doing this, not us" - while at the same time passing legislation in the EU.
<Tyranny of the majority arguments go here>
[0] https://europarl.europa.eu/election-results-2019/en/turnout/ [1] https://en.wikipedia.org/wiki/Council_of_the_European_Union