Nothing in this code or any other law shall prohibit the department from taking, for scientific, propagation, public health or safety, prevention or relief of suffering, or law enforcement purposes, fish, amphibians, reptiles, mammals, birds, and the nests and eggs thereof, or any other form of plant or animal life.