Oil change just before inspection: how useful?

Good day together. My T-Cross (purchased Nov. 21) shows after 24,000 km that an oil change is due. The first inspection should take place at 30,000 km. How useful is the change just before the inspection? And above all, I lose the new car warranty if I wait with the oil change until the inspection?