Right now, according to the government, this lawsuit pertains to regulations that may not be relevant because the government may decide to overrule these regulations with some new regulations.
What would the new regulations state we don't know yet as the possibilities are several. The government could end up modifying the rule, narrowing it or could end up totally rescinding that rule and of course if you have to rescind a regulation I don't know of doing it other than going through the rulemaking process again.
So that would probably take a few months and my guess would be in order to keep the exit from the regulations if there is indeed an exit orderly the government will probably provide some months grace period for closure on the H-4 EAD's. So right now that's what we know. More...
Note: This is a verbatim transcript of the referenced audio/video media delivered as oral communication, and, therefore, may not conform to written grammatical or syntactical form.