It depends in the length of the layover, I think. I suspect overnight is permitted, but not for more than 24 hours. I fell foul of this doing CX HKG-BOM then BA BOM-LHR. My "connection" was 24 hours and a few minutes and I checked bags through - but on landing in BOM was told I had to retrieve bags and re-check them after all...