To clear the road.
If they're in immediate danger.
To put them in your vehicle.
If they request to be moved.