The Oregon Court of Appeals on Wednesday ruled that local governments in the state cannot declare themselves Second Amendment sanctuaries and prohibit police from enforcing statewide gun laws.