Justice Dept. warns on state gun laws