Judge rejects a claim that New York's marijuana licensing cheats out-of-state applicants