I don't care what this guy "did", he shouldn't have been treated this way. If he broke the rules and we need to deport him, fine. Then do it. Don't strip search him, threaten him, go through his personal effects, harrass his friend, unjustly limit his ability to contact his people, and generally abuse someone who's trying to visit our shores who comes in peace.
The worst thing they should have done to him was force him to pay for a work visa and a "processing fee", and let him into the country.