Beijing has objected to Japanese Prime Minister Junichiro Koizumi 's repeated visits to a Tokyo shrine that honors war dead , including war criminals from World War Two .