Indeed, if the forecast page is correctly filled in the VNAV profile takes into account the difference between standard and QNH. There might still be some discrepancies if the forecasted average temperature deviation from ISA is too large and/or the downloaded wind data isn't quite right and of course if one misjudges the TAI use.