While Japan and China are at loggerheads over regional influence , natural resources and territory , Mr. Koizumi 's visits to the Yasukuni Shrine , the memorial to Japan 's war dead and its 14 highest-ranking war criminals , have drawn particularly strong criticism from Beijing , and from Seoul as well .