Establishment of mortgages as collaterals for credit liabilities Legal basis