Delay in A/D convert code - necessary?

I don't know, but I would guess that the problem is similar to the issue of switching the ADC MUX to a different input and trying to take a sample immediately.

If the analog reference voltage is set once and then remains constant, I would have thought that setting the analog reference repeatedly to the same value was unnecessary but harmless, and I not have thought it was necessary to allow any extra 'settling time' before taking a sample.