Sounds complicated to me, but in all likelihood the airline(s) will be the entity taking any financial risks. LL