Here's are the NRA-ILA that explain NYC last hope for refusing to hear the case.
What people have a hard time in understanding the reasons. Any time a law is passed that conflicts with the Constitution, then a judicial decision is required. It is not enough for the municipality to cancel the law. That is because they can always re-instate that law.