I don't think the laws of war apply to civilians.
If you are an irregular combatant they can execute you and nobody can do anything about it.
When Russia first tried to invade Chechnya they sent soldiers who were not in uniform and denied responsibility for them, the Chechens said got on TV and said they would execute them if Russia did not accept them as their soldiers. That is how war goes.