The dog just calmly walks around the passengers as they come off the escalator, and sits down when he smells fruit. An inspector meets the passenger and looks in the carry-on bag, and seizes the fruit. There's no other penalty (there could be, in aggravated circumstances). That dog is uncanny. Since many of the passengers are carrying fruit, you could get the same "uncanny" result with a Ouija board.