SEOUL (AFP) - Pyongyang's relationship with Beijing is "invincible" because both countries endured Japanese rule, North Korea said on Saturday (June 22), the day after the Chinese President's highly symbolic visit ended.
The commentary, in North Korea's official newspaper Rodong Sinmun, comes shortly before the Group of 20 summit in Japan where US President Donald Trump will meet his Chinese counterpart Xi Jinping.
With Beijing and Washington at loggerheads over trade, China is keen to remind Trump of its influence with nuclear-armed Pyongyang, while increasingly looking to Japan - a key US ally in the region - to serve as a hedge against growing American protectionism.
Relations between Tokyo, Beijing, Pyongyang and Seoul are still heavily affected by Japan's expansionism in the first half of the 20th century, with Pyongyang's state media criticising Japan on a near-daily basis.
Saturday's Rodong Sinmun dedicated five pages to the second day of Mr Xi's visit to Pyongyang, and carried a separate editorial stating how the "sacred period of the anti-Japanese struggle has become the foundation of the DPRK-China friendship".
"DPRK-China relationship is an invincible friendship that firmly combines military camaraderie and trust," it stated, using the abbreviation of North Korea's official name, the Democratic People's Republic of Korea.
Xi, in a rare opinion piece penned for the newspaper earlier this week, also said citizens of the countries jointly opposed a "foreign invasion" and supported each other in the pursuit of socialism.
Xi is the first Chinese president to visit North Korea in 14 years, after relations deteriorated over Pyongyang's nuclear programmes and Beijing's subsequent backing of United Nations sanctions.
But when Kim embarked on a flurry of diplomacy last year, Xi - as the leader of North Korea's main trading partner and key aid provider - was the first head of state he met.
As Kim expands his diplomatic circle, Japan finds itself battling to remain involved in discussions of North Korea's denuclearisation.
Like North Korea's leaders, China's communist authorities also regularly denounce Tokyo over historical issues.
Japan, one of the most hawkish of the major powers on the isolated North, has received some of Pyongyang's harshest rhetoric - as well as missiles launched over its territory.
The dovish South Korean President Moon Jae-in - who brokered nuclear talks between Washington and Pyongyang - has also stressed the independence struggle against Japan is at the heart of both Koreas' national identity.
Seoul and Pyongyang's whirlwind of diplomacy has died down since a second Trump-Kim summit in Hanoi in February ended without a deal, and analysts say North Korea now may seek a new mediator for its deadlocked negotiations with Washington.
North Korea's official news agency KCNA also reported that Kim and Xi had reached agreement on "important issues" in their five summits over the past year.