That right already exists. These Acts are always struck down by the EU's Court of Justice along with all others that are in conflict with the founding legal documents of the Union.
The problem is that there isn't a mechanism to refer a proposed Act to that court before it's passed to prevent it hitting the books in the first place, and I think that's something that's easier to fix than (eg) trying to introduce new freedoms to the Bill of Rights when Hungary is able to block that.
Locally it'd be progress if member states stopped attempting to transpose new EU law when that law is clearly going to be struck down later on. National courts have that expertise but refuse to use it.
The problem is that there isn't a mechanism to refer a proposed Act to that court before it's passed to prevent it hitting the books in the first place, and I think that's something that's easier to fix than (eg) trying to introduce new freedoms to the Bill of Rights when Hungary is able to block that.
Locally it'd be progress if member states stopped attempting to transpose new EU law when that law is clearly going to be struck down later on. National courts have that expertise but refuse to use it.