MADISON, Wis. — In the latest round of this week’s dizzying federal court filings, U.S. District Court Judge Rudolph Randa on Thursday morning quickly fired back at the prosecutors of a politically charged John Doe investigation, declaring their appeal frivolous and ordering a preliminary injunction halting the secret investigation reinstated.

Randa’s ruling came swiftly, less than a day after the  7th Circuit U.S. Court of Appeals stayed the judge’s preliminary injunction, issued Tuesday, that stopped the nearly three-year investigation and ordered all documents obtained in the probe destroyed.

The appeals court said Randa jumped the gun in issuing his decision before he determined the status of the prosecutors’ appeal. In its ruling on the prosecutors’ emergency appeal, the 7th Circuit said Randa erred in failing to certify that an appeal filed last month by the prosecutors with the 7th Circuit was frivolous.