The Obama administration on Wednesday urged the U.S. Supreme Court to reverse a lower court decision that, it warned, would open a legal loophole allowing guns in the hands of convicted domestic abusers throughout the country.

The justices heard arguments in United States v. Castleman, which involves the interplay of a federal law, known as the Lautenberg Amendment, and a Tennessee statute. Organizations dedicated to preventing domestic violence, police associations and groups supporting gun regulations filed amicus briefs supporting the government, while gun rights advocates and the criminal defense bar filed in support of James Castleman.