I suppose the clumsy syntax of the Second Amendment bears some minor responsibility for leaving a crack of daylight through which the NRA have jammed a jackhammer, but it is to the Supreme Court's everlasting shame it chose to abdicate its responsibilities.
There is no coincidence that Scalia's majority opinion reads exactly like Bush administration talking points, as his hysterical dissent in the Guantanamo related case did.