Notwithstanding the provisions of section 14-171, any animal found at large in violation of this chapter that cannot be safely impounded or poses a real threat to county officials, citizens, other domesticated animals or livestock may be slain by any police officer or animal control officer when in the presence of and having had permission given by a police officer. Such measures shall only be used when tranquilizing the animal fails or there is a significant risk of immediate danger.