Sir, it's not only TTE, but first, as by the example given by the original blogger, that seat/berth will be allotted to the passenger who books ticket from A to D via PRS or at the time of charting. If no one bookings are there from A to D or short of D, then TTE would allot it to any passenger who boards the train without any reservation.