Abousfian Abdelrazik arrives to Federal Court in Ottawa on Monday, Oct. 21, 2024.

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.