A man is driving a car on a beach with his dog in the passenger seat.