War Crimes explained: it’s complicated.

Link. If one side uses human shields the other side still cannot disregard their safety. Siege is not legal (I think).