A perfect one, sure, but in practice the car might, at best, treat it with less priority than a human in case of a difficult decision to make, and at worst, treat a « 40% confidence giraffe » as a false positive and ignore it
If a self driving car purposely ignores Giraffes or even real objects incorrectly identified as Giraffes or anything else, I think that's a problem. Africa is a place people drive cars in. And then there's this: