Based on his account, I'm forced to believe he acted appropriately, and therefore I feel bad for him, but he doesn't have a given right to enter a foreign country.
My advice remains. Custom officials in airports are much better equipped to handle foreigners. So, to hedge your safest bets for next time you go to the US, make the airport your first port of entry.