China does not appear to understand that Canada's judiciary is independent, Prime Minister Justin Trudeau said on Thursday, taking a rare public swipe at Beijing at a time when bilateral ties are poor.