To be fair, it would clearly be a war crime, so judging from the court rulings regarding the Nuremberg trials, and the trials from the Yugoslav war, yes.
unless of course you want to admit, all those trials are merely used by winners of conflict to punish their enemies, but if so, the laws of...