. . . "But a mortgage is a contract, and a background term to that contract is that the foreclosure has to follow the law." .