I’ve had this happen a few times and it’s been pretty scary since you have no idea what it tried to stop for. It seems like it can get confused by shadows or things like puddles of water from the rain.
You can disable the emergency brake override in the settings for reverse only which I did.