Always remember the Collective punishment is prohibited by treaty in both international and non-international armed conflicts, more specifically Common Article 33 of the Fourth Geneva Convention and Article 4 of the Additional Protocol II. Ergo collective punishment is a war crime.