The law seems very clear. An indirect free kick WILL be awarded.
What gives refs the right to pick and choose which rules to follow. This is an entirely objective matter, it is not open to interpretation like, say, a foul or penalty. They give offside for a toenail ffs.
And then they wonder...