CSIS's objective was to keep Abousfian Abdelrazik detained in Sudan, a former diplomat who worked on the case testified Monday in a hearing on the Montreal man's lawsuit against the federal government.