Answer
Edward II's enemies were excommunicated by Pope John XXII in order to help the king. This was a common tactic used by the church at the time to punish enemies and promote its own interests. The excommunication was a serious blow to Edward's enemies, as it meant that they were no longer considered to be part of the church and could not receive its sacraments.