Former Vice President and 2020 Democratic presidential hopeful Joe Biden on Tuesday said comments made by President Trump while in Japan siding with North Korean despot Kim Jong Un are “beneath the dignity of the office.”

“To be on foreign soil, on Memorial Day, and to side repeatedly with a murderous dictator against a fellow American and former vice president speaks for itself,” Biden’s campaign said in a statement.

“And it’s part of a pattern of embracing autocrats at the expense of our institutions — whether taking Putin’s word at face value in Helsinki or exchanging ‘love letters’ with Kim Jong Un,” said the statement from deputy campaign manager Kate Bedingfeld.

Trump, during a Monday news conference in Tokyo with Japanese Prime Minister Shinzo Abe, agreed with Kim’s comments that Biden was a “fool of low IQ.”

“Kim Jong Un made a statement that Joe Biden is a low-IQ individual. He probably is, based on his record. I think I agree with him on that,” Trump told reporters during his four-day state visit to Japan.

Asked why he was backing a murderous dictator rather than supporting an American vice president, Trump went on to trash Biden and the Obama administration over their handling of the economy and their policies in Syria, North Korea and Iran.

“So I don’t take sides as to who I’m in favor or who I’m not, but I can tell you that Joe Biden was a disaster. His administration, with President Obama, they were basically a disaster when it came to so many things, whether it was economy, whether it was military, defense,” he said of the Democratic front-runner who could be his opponent in the 2020 election. “So I’m not a fan.”

North Korean state-run media lashed out at Biden last week after he referred to Kim as a “dictator.”

“He is self-praising himself as being the most popular presidential candidate. This is enough to make a cat laugh,” the Korean Central News Agency wrote, adding that he was a “fool of low IQ.”

Trump also weighed in about Biden on Twitter Saturday, writing that he “smiled” when North Korea called “Swampman Joe Biden a low IQ individual, & worse. Perhaps that’s sending me a signal?”

In the first version of the tweet, Trump misspelled the former veep’s name as “Bidan.”

American leaders typically refrain from criticizing political foes while overseas, adhering to the policy that politics stops at the water’s edge.