Bottle conveyors allways have an encoder, to seek preciselly the position on the conveyor, so the controller can track the exact position at the inspection point and follow the bottle to the rejection point.
Problems arrise when the line adjust speed and can occur some slip or displacement to the bottle. May times thre are also photoelectric switches to try to match the supposed position whith the real one.
Usually also exist displacement registers to track all the bottles from the inspection point or points to the pusher, for each bottle, at the point where enters the machine, a register tracks the position and the status of the inspection (maybe more than one), and with this status, the machine selects also the rejection point, as sometimes, there are different pushers to save or destroy the bottle.
Best regards