“a Federal judge would issue an injunction within hours restoring their jobs”
A federal judge might try, but judges have zero jurisdiction over security clearances, those are the sole purview of the President, and nobody can work in the federal government if their security clearance is revoked.
Not true. Many jobs dont require a security clearance.