The Court of Justice of the European Union rules on any disputes which may arise between the Bank and the Member States and, where necessary, assesses the legality of the decisions taken by the Board of Governors and Board of Directors. The Court may also, if stipulated in the contracts, decide on disputes between the Bank and its borrowers or lenders.