Court confirms anticipatory bail to IAS trainee’s father