Uber's system famously couldn't decide if someone pushing a bicycle was a pedestrian or a cyclist. It flip-flopped for a while before resolving the dichotomy by running her over.
Don't assume that self-driving software is designed with even a minimal level of competence.
Footnote: there have been many articles about this incident posted to HN. Here's one: https://news.ycombinator.com/item?id=19333239