Allegiances shift over time. I like to remind people of The Living Daylights (1987), in which James Bond helps a bunch of Islamic fundamentalists blow up a plane.
(it's a Soviet plane running drugs, so it's OK, and the Mujahedein involved are run by a chap who went to Oxford, and are fighting the Soviets in Afghanistan, so that's OK too)