Ideally, He could have kept a low profile regarding WW2-related issues and events just like the previous emperor. It's not a must to pay a visit to such shrines. I wonder what would happen if a politician regularly visits a church that worships Adolf Hitler and other war criminals.