The idea that Starfleet officers can turn down transfer orders just because they are not Federation citizens is just ridiculous.
Does that mean Nog can turn down transfer orders more easily than a human officer? Ridiculous.
That "resolution" was not very likely (in reality) or clever (for Riker to come up with). Anti-climatic.