Every country on planet Earth has their own rules and they all have every right to tell any non-citizen entering to fuck off at their whims. Sorry but that's how it works. The sense of entitlement here is mind-boggling. If I fly to $COUNTRY they have every right to put me on the next plane back for any reason (including pissing off customs in any way) and I have no recourse beyond shouting into the void.