First, these “sanctuary” laws do nothing to prevent a local U.S. Attorney in your state from prosecuting you for a violation of federal law. On the other hand, the laws may not even be legally necessary; the right to keep and bear arms is expressly guaranteed by the Second Amendment, and the U.S. Supreme Court reaffirmed that such a right was fundamental in the Heller decision.