No, the answers already written are half correct, so that is not all.
Although Yasukuni Shrine had been subject to security for a long time,
but One Chinese in 2011 and two Korean in 2013 and 2015
who received "anti-Japanese education" caused "arson" and "bomb" cases as international problem.
Since that time, the security system has been strengthened and still keeping to the present.
Although the number of Chinese and Korean tourists has increased very much in recent years,
but it is very convenient for those who are thinking about causing a bad incident in Japan now.
Most Japanese are thinking Chinese and Korean tourists are not terrorist group like "ISIL",
(they also killed two Japanese in somewhere of Middle East)
however, the Japanese government is not and has raised the alert level.
(Although there is a North Korean problem, too.)
She is not an international politics expert, (one of amature YouTuber)
but her guesses that against the background of in this case makes it easy to understand
even foreign travellers of no related WW2 countries.
https://youtu.be/70afTQJ2gB8Although this is not directly related to this question, "thought education" and "abuse of collective psychology" are one of the political strategies that have been done since a long time ago.
This manga(comic) is one of the famous works(big titles) written by Japanese,
in vol.3(anime ep 5) episode "Paris under the roof(Yane no shita no Pari)" is a one of good story.
https://en.wikipedia.org/wiki/Master_KeatonThis and other episodes are not talking about contemporary war,
but I recommend reading(or watching) because there are many parts in common with the present.
I haven't confirmed whether the contents of the English version
or the dubbed version are correct or not, but you can enjoy any episode.