@Nigel *************
I think I understand y'r question. If you have an onward flight, the airline and/or immigration must have a reason to refuse you. Should you NOT have an onward flight, the airlne is responsible to fly you out/back. If you have an onward flight, then the airliner is NOT responsible for y'r flight out/back. So then YOU have to pay that flight.