The judge limited the Election Law testimony. I believe to his own background not the actual laws being questioned.
And what the jurors needed to hear about was the actual laws in question.
Merchan deliberately withheld crucial information from the jurors. If I was them I would send back an immediate “Not Guilty” verdict with a note saying, “Kiss My *ss”