I think the issue is that just because international law states something, you don’t have to agree with it.
Yes, international law justifies bombing certain hospitals, but I still think it’s immoral
If there are military targets in hospitals, do a raid, don’t bomb it