ONTARIO—A Hamilton courtroom has quietly cracked open a long-standing pillar of Ontario’s criminal justice system.