Declining to halt a foreclosure sale, a Long Island, N.Y., judge has been left with the “unhappy result” of a loan that should not have been taken for which the homeowner is nevertheless responsible.

The case of Alliance v. Dobkin, 10625/06, is illustrative of the nationwide mortgage lending crisis: An increasing number of borrowers who agreed to onerous loan terms to finance homes they could not otherwise afford now are facing foreclosure.