Criminal courts aren't allowed to evaluate whether the defendant is good or bad. It's actually one of the basic federal rules of evidence. Character evidence is relevant and admissible only if the defense
first makes the defendant's character a part of the defense.
Courts should evaluate...whether the law is consistent with constitution.
This seems to be a big misunderstanding in the tech world. Courts already do make sure laws are consistent with the Constitution; that is one of their primary jobs. But they primarily do this when the law is challenged--usually when it is first introduced or on its first application to a novel set of facts. The courts do not re-determine the constitutionality of a law every time a criminal case proceeds, and especially not when the constitutionality of the law has already been addressed in prior cases.