In a case of particular significance to foreclosure attorneys and lenders, the Florida Supreme Court ruled Thursday that Plantation, Fla., attorney David J. Stern cannot be sued for legal malpractice by a mortgage company over an allegedly botched foreclosure because the lender didn’t own the loan when the case was filed.

Unlike mortgages, legal malpractice claims in Florida are not assignable, the state Supreme Court said in its ruling.