A Canadian court has ruled that the regulator of lawyers and paralegals in the country's largest province overstepped when it imposed a litany of sanctions on dozens of licensing candidates accused of cheating on the bar exams.