It is a very unpleasant experience being refused entry to a country, which has considerable lost costs as a result. I had much a similar experience as OP and can only agree.
I'm not disputing that, but I would suggest a recalibration of the author's other attitudes, then. The author revels in the pomp and circumstance of the border crossing... Just what does he think those are there for?