@unicodeveloper I had similar experience in Russia, I was even a scholarship student, they held me for more than 6 hours too until my school told them they were expecting me.
I was so fed up that I had to tell the officer they should just deport me instead of this scrutiny.