My statement is no more silly than the person who said that if you wear heels to drive you could end up killing someone and go to jail.
If you drive correctly and adopt the right posture your choice of footware will not add to the risk of causing an accident.
As far as I am aware, there has been no work done to establish a positive statistical link between footwear and accidents, so I would have to base my judgement on personal experience of nearly 40 years driving. In those 40 years, I have been the victim of a number of accidents - none of which were caused by people in heels. I have also had one or two accidents which were my own fault, but I was wearing man-shoes at the time. In fact during those 40 years, I have only witnessed 1 accident which involved someone wearing heels - a cisgendered man wearing flat shoes rammed into the back of the woman in heels when she was safely stopped at some traffic lights which were red at the time.