Yes, because the measuring beam may be absorbed or partially reflected by it, which can result in incorrect measurements.