Court has warned lender it is likely to lose parts of complex lawsuit brought by former shareholders of rival