Alternatively, the measurements could take place while a target portion of the substrate is submerged in liquid, i.e. the measurements take place through liquid, but not the same liquid as supplied by the liquid supply system to fill a space between the projection system and the substrate.