A judge can clear a defendant of all charges.