Here's the judge's decision in the Bernstein case