Doesn’t the law have to be in force and then someone has to be arrested or killed before it can go to court?
The legal term you are looking for is “Standing”.
Many cases have been thrown out as the courts ruled the litigants “Have no standing”, in other words, they have not (Yet) suffered any direct provable harm related to their legal action.
(Gads, I sound like Lawyer, I’m not, just a bit experienced).
Anyone arrested under these pending alleged “Laws” will have the necessary “standing” to seek legal remedy. The more arrested the more urgent the cases, enough arrest and I expect a class action suit.
In fact one way to fight it just might be for every gun owner in the state to get arrested for infraction of these alleged “Laws”.
Then demand a full jury trial, do not accept a “Plea Bargain”, crash the state court system.
I would think that having guns confiscated would give someone standing to take it to court.