He helped foil a terrorist plot to blow up a school in Denmark