I don't think the guest analogy is really that watertight.

Is the plumber who comes to fix my toilet a guest while he remains in my home?

No, he's someone being paid to remain there because he has skills that are needed.

As long as expats are employed and providing economic activity in Qatar, I don't think it's fair to say that they are 'guests'.