At a simple scale, If I own a $200k home outright and have $50k in credit card debt that I cant pay then I file for bankruptcy, negotiate with creditors to sell my home and pay the debts, and come out with $150k in assets with no liabilities. I was always solvent.
This happens daily in the business world’s bankruptcy courts. (Of course some of them are also insolvent)