Obviously, nobody in an international court will be able to say "... but the AI did it!" - This is just far too easy as a way out. There are rules to AI Usage and one of them is not a usage like that - as already said somewhere else: The AI is only as ethical/moral as the humans behind them.