Not a lawyer or a judge but that is just wrong.
I do not believe the judge did that. Below is a snip of the jury instruction transcript. Read it carefully. I left out one more line: If the People have not proven beyond a reasonable doubt each of these two elements, you must find the defendant not guilt of this crime.