Which, in specific case law where a collective deal or treatise is applicable and understandable by all members, is perfectly valid.
Brexiters however, were all about 'faceless European mandarins' making the Stasi patrol the streets telling honest Englishmen to not wear football shirts denoting their sovereign nation and other such Daily Mail nonsense. Check back over the past 25 years of headlines by the popular press and it is rammed with allegations 'our rites r bein' taken off off us!' which is preposterous. We also do - ultimately - have a right by principle of ignoring any directives set and/or tying it up in perpetuity in legal contest.
Bottom line is the mantra of the EU and its council (who we elect members to) have no real leverage beyond what we agree to in the first place.
The core issue is that EU law primacy is not equivalent to a standard international treaty. While member states voluntarily agreed to the Treaties, the resulting legal order is supranational: EU law has direct effect (creates rights individuals can enforce in national courts) and primacy (takes precedence over conflicting national law, including Acts of Parliament). This was established by the CJEU and accepted by the UK upon joining.
You could not simply ignore them. National courts were obligated to apply EU law and disapply conflicting domestic rules (Simmenthal, 1978). Individuals could sue the state for damages if harmed by non-compliance (Francovich principle). The European Commission could (and did) launch infringement proceedings leading to CJEU fines and pressure. Persistent defiance risked escalation (e.g., loss of funds, political isolation—as seen with Poland/Hungary on rule of law). While delays and litigation occurred, ultimate compliance was required for membership. "Tying it up in perpetuity" was not a viable long-term strategy; the UK lost cases and had to change laws.
We voted for MEP's only not for the rest such as the Council and Commissioners. It was the EU council that often outvoted the UK as well.
The more member states that joined the more influence the UK lost. Hence the likes of David Cameron trying to get some concessions pre-brexit to stave of a referendum but got next to nothing in return.
The system worked because members agreed to limit sovereignty in defined areas, enforced by independent courts. Brexiters highlighted this democratic/accountability gap ("faceless" in the sense of Commission initiative + Council + CJEU final say).
You also need to keep in mind that the whole European project when was first put to the public was sold as a Common Market for trade, jobs and food. It wasn't sold to the public as possible currency change, law changes, ECHR etc. The public were told to ignore the likes of Tony Benn regarding sovereignty and parliamentary supremacy etc.
Anyway we can go around the houses on this and you can keep dismissing the reasons people voted the way they did 10 years later on. It's all been done to death on here and it's boring.