The revenge tour has come off the rails.

Donald Trump had long promised retribution against his political enemies, but – to coin a phrase used around the White House – he’s f****ed around and found out that it doesn’t fly so easily through the courts.

His mistake was in choosing a pilot unable to fly the plane.

Lindsey Halligan is the lawyer who took the job of Trump-enforcer when others, better qualified, turned it down.

The prosecution of Trump’s adversaries would have been the job of Erik Siebert, US attorney for the Eastern District of Virginia, but he gave it a body swerve.

He had declined to prosecute the case against Letitia James, the New York attorney-general who successfully prosecuted the Trump organisation for business fraud.

Siebert concluded there were not sufficient grounds to prosecute, which didn’t please the president, and Seibert quit before he was pushed.

More on Donald Trump

A number of career prosecutors were similarly reluctant to take the case, leaving Trump checking availability.

That’s when he turned to Lindsey Halligan, an insurance lawyer by trade.

Her work experience didn’t necessarily suit the job brief – the prosecutor with the highest of profiles had no prosecutorial experience.

In pursuing the cases against Comey and James, she had to present evidence before a grand jury, something she hadn’t done before.

Letitia James and James Comey have had criminal charges against them dismissed. Pics: Reuters
Image:
Letitia James and James Comey have had criminal charges against them dismissed. Pics: Reuters

If that wasn’t ideal, that wasn’t all.

Something else Halligan didn’t have was the legal ability to do the job. Her appointment violated laws limiting the ability of the justice department to install top prosecutors.

It was an elementary error that didn’t pass by Judge Cameron Currie, who called it a “defective appointment”.

In setting aside the indictments against Comey and James, she wrote: “I conclude that all actions flowing from Ms Halligan’s defective appointment… constitute unlawful exercises of executive power.”

The US Department of Justice can appeal the move, so Comey and James haven’t reached road’s end.

Read more from Sky News:
US hails ‘tremendous progress’ on Ukraine peace plan
Trump changes tack on Marjorie Taylor Greene

But it’s a significant boost for both, and a significant blow for Trump.

He is the president in pursuit of sworn enemies, which his critics characterise as a weaponisation of the justice system.

Those same critics will point to the haste and impropriety on display as evidence of it, and take heart from a system offering a robust resistance.

Donald Trump appears undeterred. White House spokeswoman Abigail Jackson said: “The facts of the indictments against Comey and James have not changed, and this will not be the final word on this matter.”

Letitia James is charged with bank fraud and making false statements to a financial institution. James Comey was charged with making false statements and obstructing a congressional investigation.

Trump fired Comey in 2017, while he was overseeing an investigation into alleged Russian interference in the Trump 2016 campaign.