In a victory Wednesday for gun rights advocates, Florida’s Fourth District Court of Appeal ruled in favor of a gun owner who challenged the Palm Beach County Sheriff’s Office for refusing to return firearms without court approval.

The appeals court sided with John Dougan, a gun owner who contested Sheriff Ric Bradshaw’s policy of not giving back firearms that police seized as a result of a safety call or safety check without a court order.