> Just like how Poland and Hungary are EU members and they are walking their own way not giving a f about anything, rewriting the constitutions and laws as they wish
There are mechanisms in place to change constitutions and laws in all countries. The primary function of parliament is to legislate. In Poland, Hungary and the rest of the EU.
The problem (at least in Poland where I come from) is that the government/ruling party (PiS) are pushing laws that violate the constitution. The same party controls such bodies as consitution tribunal and the high court, as well as attorney general.
They can do whatever they want without having to touch the constitution. They just ignore it.