IIRC some governments oblige the marketing carrier to assume liability for loss and damage under international treaties (Warsaw etc./Montreal 99). Although they might try and distance themselves from the operating carrier, they likely remain liable in law for any shipments under their flight code.