No its not necessary that when loco is transferred intermediate overhaul is done...I had given a eg only...and yeah its true intermediate overhaul is done in between of two POH's or accordingly after loco has travelled adequate distance....like 3 lac kms...:)