The court has weighed in on a complex question with significant implications for property owners and lenders.