Which makes them legitimate targets within the laws of armed conflict. No different from a church steeple used by a sniper which would otherwise be off limits.
I’m not sure but I think the “war crime” is using them for such military purposes in the first place?