Dont be too angry, it could have been worst. You could have been riding a bicycle ;)
When I was in Xinjiang Ive met a French guy who cycled from there from Europe and he said told me a similiar story. 100km up the hill and a checkpoint at the end wher he has been told to turn around......TIC