That was an apparent reference to China 's objections to Japanese Prime Minister Junichiro Koizumi 's repeated visits to a controversial war shrine .