It's not direct light into the pilots' eyes that it's aimed at, but light bathing muck on the windows, and reflecting around in the windows.
However, whenever there's strong reflection, there's already direct sunlight around to play on the windows, and so it's not likely to be a major effect, but it certainly does no harm.