Another baloney.
In legal jurisprudence all precedents and any material which could go against one party can be brought into the notice of a Judge to raise doubt on the credibility or argument of another party.
Any evident don't relate to the case or any criminal case irrelevance to the case at hand and currently proceed by the court will be throw out by the judge.