While doing the necessary requirements for the commercial license, all of my cross countries where done under IFR flight plans. We maintained VFR at all times. To be honest, the only way anyone would know that you did not maintain VFR, was if you have any actual instrument logged. If you do, then you did not maintain VFR throughout the whole flight.