Can you really not see a connection?
World leaders say bombing hospitals isn't a war crime, they say that targeting schools, aid facilities, civillian infrastructure isn't a war crime. For almost 2 years they have been banging this drum. They see nothing wrong with a country investigating themselves and finding themselves innocent of all charges. We've all sat and watched Israel saying that an empty calander is evidence of Hamas, we've watched them make up weird cgi videos of non existent Hamas control centres and we've watched governments around the world saying that there is nothing wrong with that evidence.
If it isn't breaking international law to bomb a hospital in Gaza because you made up a cgi video of what you imagine a Hamas control centre inside would look like then Iran are just fine to blow up a hospital in Israel. Iran have shown as much evidence that the civilian infrastructure in Israel is actually a military target as Israel have in Gaza.
Either International law means something or it doesn't. It doesn't mean anything anymore, Israel and every government who turned their backs on atrocities have made sure of that. Lots of you have been positively revelling in that and actively mocking the people who have been protesting to keep those laws meaningful, this is the result you wanted, why are you still complaining?