Governments aren't accountable to their citizens, and there aren't any repercussions nor punishment for violating rights. Sure, the court might have ruled on this, but that's irrelevant when the government decides "national security" takes precedent and uses the media to manufacture the consent of the population into thinking extraordinary times require extraordinary measures.
If most of the people with guns want to ignore the court, they will.