They work in GPS contested environments by reverting to expensive INS and TERCOM systems.
The US had expensive systems because INS and accuracy is expensive without GPS.
GPS will be denied in any future war environment. That's why we stopped work on things like the Ground Launched Small Diameter Bomb. It was useless in Ukraine due to GPS denial.