Following public protest, the order-in-council that authorized the forced deportation was challenged on the basis that the forced deportation of Japanese Canadians was a crime against humanity and that a citizen could not be deported from his or her own country. The federal cabinet referred the constitutionality of the order-in-council to the Supreme Court of Canada for its opinion. In a five to two decision, the Court held that the law was valid. Three of the five found that the order was entirely valid. The other two found that the provision including both women and children as threats to national security was invalid. The matter was then appealed to the Judicial Committee of the Privy Council in Britain, at that time the court of last resort for Canada. The Judicial Committee upheld the decision of the Supreme Court. In 1947, due to various protests among politicians and academics, the federal cabinet revoked the legislation to repatriate the remaining Japanese Canadians to Japan. It was only in April 1949 that all restrictions were lifted from Japanese Canadians.