Ottawa: The Canadian government was within its rights to order the deportation of Algerian Mohamed Harkat, the Supreme Court of ruled on Wednesday, upholding a lower court’s finding that Harkat was a liar and likely a sleeper agent for terrorist organizations linked to Osama bin Laden. In making the decision, the high court also unanimously upheld the constitutionality of Canada’s revised security certificate system. The system allows the government to designate foreign residents of Canada who are suspected of terrorism as inadmissible and can allow for their detention.