Yes, use the laws they created to rid the streets of their ideology, then eliminate the laws. Read a similar situation in "The Prince", regarding kings hiring a henchman to do the dirty work, then be appalled at the henchman's behavior and put him to death -- after, of course, the king's opposition is dead.