Just because something is unintentional doesn't make it not bad.
If I made a game where you play as a russian invading ukraine and it shows russia as the good guys for invading ukraine, even if it wasn't intended to be a pro-putin agenda, it obviously still has the parallels so we would say it's bad.
Not to say that I really care all that much about it since the harm isn't really there and I don't care about cancelling harry potter, just pointing out that there is the parallel