Arizona police can take custody of a subject's gun for officer-safety reasons even if the person's contact with the officer was voluntary, an appellate court has ruled.

The new ruling, which comes from the Court of Appeals, stems from a case of a man appealing a firearms misconduct conviction who argued Phoenix Police wrongfully took his gun, reports the Associated Press.