I dont know about bike racing but in motorcycle racing the person "passing" is responsible when cornering. The person aheads keeps their line and the person behind must calculate what to do in the situation.
Saying that, I would say it is a tactic as well as bike handling.