This scenario happens regularly for Rajdhani in monsoon timings and Kochuveli Antyodaya. As Rajdhani was running before time, and 12695 is scheduled to reach Trivandrum before Rajdhani, the overtake happens.
Thanks for watching
Do subscribe for more.