Flying into sun on a hazy day vis not good and not vfr, then IMC, flying downsun in haze vis more than OK, VFR.
This is a black/white question. You are either VFR or not. Is it still not the visibility ahead from the "flight deck" that will determine your conditions?