As a semi-sentient robot, RB will probably just tag along with whoever his systems don't identify as an enemy...