It'd be a risk to your snake. There was a man in a town not too far from mine a couple years ago who had to get rid of his two ball pythons. http://www.kcrg.com/news/local/Man-M...138754324.html
I have no idea how lax NYC is in upholding that ordinance, but I personally would never put my own desires above the security of my animals. Would it even be able to get vet attention, or do vets not keep up with their local exotic animal laws?