Easy fix. If you want to entrust your car to drive itself then you allow people to access an emergency kill-switch from the outside in situations where human intervention is required to ensure the vehicle doesn’t endanger anyone. If you’re concerned about a carjacker then you have to switch to manual driving mode to bypass the kill-switch.
If the car is unoccupied then defensive maneuvers are off the table entirely.
There is NO excuse for a self-driving car design which doesn’t give a traffic officer or an emergency worker any way of knowing if the car is about to start moving again.