Derek Barker “orchestrated” the rape of a pupil by an older schoolboy, a court has heard.