Called federal court injunction, and the feds have used it over and over to make states comply with federal law. There's a long history of jurisprudence on this. There will be a fight. Some states will appeal any injunction, but that could take years, and eventually, with the GOP stacked courts...