The Canadian government's actions are far more serious than downloading music or porn.
When a fifteen year old Canadian child is being tortured and abused by a foreign government, the Canadian government has a legal and moral responsibility to assist the Canadian child. Instead our government choose to ignore Khadr's legal rights and assist the foreign torturers and abusers.
Omar Khadr's father took him to Afghanistan as a child to fight in the Afghan civil war. Omar Khadr was legally a child soldier.
When Omar Khadr went to Afghanistan, Canada had no policy regarding the Afghan civil war. After 9/11, after Khadr was already fighting as a child soldier with the Taliban, Canada declared war on the Taliban. At that point any Canadians already fighting with the Taliban including Khadr became our enemies. I doubt 15 year old Khadr was in a position to return home to Canada or switch sides.
BTW, the Taliban had nothing to do with 9/11 and are on record as condemning it.
CNN.com - Taliban diplomat condemns attacks - September 12, 2001
The US attacked the Taliban because they refused to handover people the US alleged were involved in events of 9/11 for torture and execution. Instead they demanded proof first. Rather than negotiating with the Taliban, the US attacked the Taliban.
The Taliban never came to Canada or the US to attack us. Canada and the US went to Afghanistan and attacked them, which gives the Taliban the right to defend themselves.
The US classified their adversaries in Afghanistan as unlawful combatants. No other country recognizes that classification, and its obvious use was to obscure US circumvention of international laws regarding the treatment of POWs. The US abused, tortured and summarily executed Taliban POWs.
When hostile foreigners (Americans) attacked the compound where Omar Khadr was living, the occupants understandably fought back rather than surrender for abuse, torture and summary execution. The survivors including 15 year old Omar Khadr were then classified as illegal combatants and tortured/abused for years.
Both Canada and the US have acted immorally and illegally regarding Omar Khadr. Maybe Khadr could have been rehabilitated soon after his capture, but I doubt that's possible now.
I'd say Omar Khadr is more of a sad example of what years of torture and abuse can do to a child.
Khadr should remain locked up until he is deemed not a threat to society. If he ever is released, he should be compensated for the years of illegal abuse, torture and detention. The torturers and abusers as well as those Canadians who complicit in Khadr's illegal and immoral treatment should be held accountable for their actions.