Well if looking at the actual history, its not black and white good vs bad like with Nazi Germany in Europe. It's a big blur of grey. It is actually more on the US and China side to recognize yhe gray of it instead continuing to indulge in being on the right side of what they've been conditioned into believeing it having been a black and white/good vs bad like in Europe.
Japan is like the stubborn good person that gets a bad name.
Don't be that guy!
Be the cunning bad person who preaches moral Good and grab the moral high ground, all for his own gain and benefit.
And all of this have to start by removing those convicted war criminals from the shrine.