If they violate their oaths after pledging to keep their covenants, and attack your religion, you may fight the leaders of paganism – you are no longer bound by your covenant with them – that they may refrain.
وَإِن نَكَثوا أَيمٰنَهُم مِن بَعدِ عَهدِهِم وَطَعَنوا فى دينِكُم فَقٰتِلوا أَئِمَّةَ الكُفرِ إِنَّهُم لا أَيمٰنَ لَهُم لَعَلَّهُم يَنتَهونَ
wa in nakasooo aimaanahum mim ba’di ‘ahdihim wa ta’anoo fee deenikum faqaatilooo a’immatal kufri innahum laaa aimaana lahum la’allahum yantahoon