https://en.wikipedia.org/wiki/Speed_limits_in_the_United_Sta...
Isn’t granting the ECJ jurisdiction is a requirement of EU membership?
Germany [1] and Hungary [2] played with this fire. In summary, no.
Treaties have force of law. If a country improperly ratified their EU treaties, they need to amend their constitution (if it exists) or admit they never properly joined the EU in the first place. Given the latter means economic collapse for most EU members, it’s not a hard choice.
[1] https://www.jurist.org/commentary/2020/06/nick-kenny-german-...
[2] https://www.reuters.com/world/first-eu-seen-moving-cut-money...
No country is or can be forced to be a EU member.
Just because there are economic implications does not mean the EU treaties are above the countries‘ constitutions the people actually chose to enact.
However, once you decide to stay within the law it is indeed possible to have EU treaties stand above the constitution. In situations where you've added bits in your constitution that the EU treaty has priority, acting like this isn't true is simply breaking the law.
Likewise, for most of my life, my personal political and economic interests included a strong UK (still does even though I moved to Germany) and USA even though I never lived there.
For practical reasons most EU countries want to be in compliance with EU law and will often follow ECJ recommendations and change their own laws if found to not be compliant. Also many EU countries have laws that essentially state that all their laws must comply with EU law.
The other option is to apply for an explicit opt out of certain a EU regulation that you feel is incompatible with your own laws.