Sounds like you have no faith in the jury system, so why even have it? Why not just let the judges decide, they know best, right?
Because every citizen, according to the Constitution, has a right to a trial by jury.
He does NOT have the right to a hearing on the constitutionality of the law used to indict him by that same jury.