The present paper shows that, everything else equal, some transactions to transfer portfolio credit risk to third-party investors increase the insolvency risk of banks. This is particularly likely if a bank sells the senior tranche and retains a sufficiently large first-loss position.