Trump administration officials constantly say the foreign policy establishment’s decades-long failure with North Korea meant there was no choice but to give Trump’s fresh, personal, top-down method a fair trial. Today the verdict is in. Trump’s approach has failed, and Pyongyang is happily reaping the rewards.

Make no mistake, the collapse of this week’s U.S.-North Korea summit in Hanoi is a win for Kim Jong Un. Trump and his officials are already spinning this as a draw, stating that North Korea has promised to continue its testing moratorium, claiming unspecified progress was made inside the talks and promising the negotiations will continue.

But by securing an extension of the process while giving up nothing on denuclearization, Kim can continue improving his country’s nuclear and missile capabilities, benefit from an ever-eroding sanctions regime and enjoy his elevated status as a newly respected member of the international community.

The real question is: Did Kim plan it this way? Did he lure Trump to Hanoi only to set demands he knew the United States could never agree to, while holding Trump’s hand so he would acquiesce? There’s plenty of evidence that’s exactly what happened.

We know much of this because Trump laid it out in his news conference before heading home. He said Kim had offered to dismantle the Yongbyon nuclear facility but only in exchange for total sanctions relief.

“They were willing to denuke a large portion of the areas that we wanted, but we couldn’t give up all of the sanctions for that,” Trump said. “. . . We had to walk away from that.”

Trump is correct; that would be a terrible deal. Yongbyon represents a small and antiquated portion of Kim’s nuclear infrastructure. But Trump can’t claim that he was surprised by that bad offer. CNN reported that Trump’s top officials told him for days this was Kim’s position and Kim would not budge.

Special envoy Stephen Biegun had been negotiating with his North Korean counterparts for weeks, but he couldn’t get the North Koreans to do more, like hand over a declaration of what they have. The notion that Trump, charismatic dealmaker that he is, could bridge that gap in a couple of meetings was never plausible.

Contradicting Trump, North Korea’s foreign minister said Kim had asked for only partial sanctions relief for shutting down Yongbyon. But even that would have been a bad deal, at least according to Moon Chung-in, a top adviser to South Korean President Moon Jae-in.

Speaking in Washington this week, he said, “It’s a good deal for North Korea and a bad deal for the United States.”

No one is pushing harder for a U.S.-North Korea deal than the South Korean government. If it knew the United States could not accept the deal Kim was putting forward, of course Kim knew that as well. He’s evil but not stupid.

Most likely, Kim’s offer was a poison pill, meant to signal just enough flexibility to get Trump to Hanoi but to ensure that the negotiations would fail. Trump walked directly into the trap and doesn’t even seem to realize it.

On top of all that, Trump committed two huge, unforced errors. He refused to say the negotiation’s goal was to fully denuclearize North Korea. “I don’t want to put myself in that position, from the standpoint of negotiation,” he said. That contradicts everything his officials keep saying and actually weakens his own negotiating position.

Trump also let Kim off the hook for the treatment of Otto Warmbier, the American hostage who died days after being returned from imprisonment in North Korea. By accepting Kim’s claim he wasn’t aware of Warmbier’s treatment, Trump once again believed a dictator over his own officials while undermining any future attempts by Warmbier’s family to hold Kim responsible for their son’s death.

Secretary of State Mike Pompeo claimed repeatedly that progress was made in Hanoi but gave zero information on what he was talking about. Inside the administration, there’s already work on a Plan B in the (increasingly likely) event that Pompeo’s effort finally fails.

There’s another choice besides this negotiation and going to war — a mix of deterrence, containment and a return to maximum pressure, coordinated with our allies. That’s likely where we will end up anyway and the longer we wait to pivot, the harder it will be.

As Sen. Robert Menendez (D-N.J.) said, the Hanoi summit showed us “amateur hour with nuclear weapons at stake and the limits of reality-TV diplomacy.”

Trump may see a personal political benefit to dragging out his love affair with Kim and dragging the world along with them on this Sisyphean effort. But the stink of this summit’s failure and the danger of the North Korean threat are only increasing over time. No deal is better than a bad deal — but Trump getting played by Kim again and again is even worse.

Read more from Josh Rogin’s archive, follow him on Twitter or subscribe to his updates on Facebook.

Read more:

Max Boot: Trump’s hubris and inexperience set up the failure in Hanoi

The Post’s View: The Hanoi summit failure exposes Trump’s weak diplomacy

Henry Olsen: No, the North Korea summit was not a loss for Trump

Jennifer Rubin: Trump’s utterly unsurprising diplomatic debacle

Anne Applebaum: So much for Hanoi. Trump has already done irreparable damage to America’s international reputation.