They have to know this will get thrown out. States do not get to selectively impose conditions on people running for or holding federal office.
I wouldn’t bet on that.
Depends on who the judge is.