Japan is in talks with South Korea for President Moon Jae-in to attend the opening ceremony of the Tokyo Olympics next month, diplomatic sources said Tuesday, amid escalating tensions between the two neighboring countries over wartime history.

Tokyo, however, is reluctant to hold a summit between Prime Minister Yoshihide Suga and Moon if the president makes a visit for the July 23 ceremony, the sources said. Moon last visited Japan in June 2019 to attend the Group of 20 summit held in Osaka.

South Korea conveyed to Japan earlier this month that Moon is considering attending the ceremony, according to the sources. Seoul has said the visit would be in return for former Prime Minister Shinzo Abe's trip to South Korea in 2018 for the Pyeongchang Winter Olympics.