While I agree that the infamous "dune buggy" sequence serves no point and has very little logic to it, I enjoy it as a fun scene.
Although, on the nitpicky side of things, why was Data wearing goggles and not Worf? Worf has actual eyes, Data doesn't.
If we go for a real world explanation, yes Brent Spiner has actual eyes and would therefore need goggles. But wouldn't Michael Dorn as well?