THE Supreme Court has ruled a solicitor must compensate a bank because he released to a client a €250,500 loan cheque from the bank to buy lands in breach of an undertaking to first obtain a priority charge in favour of the Bank over the property.