The judges got it right this time. "Good reason" is in line with Karl Marx but not with the US constitution. Marx says that the essence of communism is "to each according to his need..." So a city that requires someone to prove his need before he gets to exercise his constitutional right is following the Communist Manifesto rather than following the US Constitution, "... right... shall not be infringed."
As soon as we reply to the bait question, "Why do you need a gun," we have lost the topic. Do not answer. It puts the gun owner on the defensive. I wish gun owners would reply, "None of your business. You understand Marx, "to each according to his need" but you don't understand the American founding documents, "pursuit of happiness."