Why would a state comply with the law of armed conflict?