Canadian customs stations staff on the jetway of all flights arriving into Vancouver from China as well. I think the preliminary check is to make you sure you haven't flushed your documents down the toilet in flight in a bid to seek asylum upon arrival.
Not sure, just a guess.