How a democratic country backs a terror group