'I pledge to continue complying with international law and humanitarian law and never to engage in war crimes in any form,' the document read