The judge is pointing out the flaw in how the law is currently written. Nothing more.
From the article:
As The Atlantic Wire notes, under current New York law, "it is illegal to create, possess, distribute, promote or facilitate child pornography." But that leaves out one critical distinction...