BA has long been able to issue tickets including LY flights and to check bags through to LY as well (interline agreement). Commercially they choose not to do it themselves on a regular basis, but the agreements are in place (according to Expertflyer). I expect travel agents use this agreement from time to time, for example.