As such, no trick.
Yet and if you want to experiment with risk, book a ticket from the origin, when train comes at RTM, ask the concerned TTE. If he has vacant berth (either yours or other), he may consider you at his discretion. We, so far, have not been exposed to any ruling or experience of this sort, please.