The 2nd Amendement protects the RIGHT of the people to keep and bear arms. That means that the federal government is RESTRICTED from infringement of that Right. So the state is abiding by the constitution to oppose executive departments who trample that right.