Atmospheric refraction does not matter for this method as it is not based on the time of sunset. Yes, the actual sunset occurs later than the observed sunset, but the relationship between the reflection and the observed position of the Sun remains the same. So, the only difference is you're observing the relationship at a slightly different time than when it actually occurred geometrically.