Hi salamanderpress,
In this case the aircraft is going to align ground track with the IRS (runway) heading.
It will do that even when the LOC signal is present. The automatics simply align the heading with the ILS QDM ready for touch down. If there is an error, you'll feel the initial sideways acceleration on touch down and it should then track the LOC during roll out - else you'll take over manually.