(a) Law of bank's jurisdiction governs. The local law of a bank's jurisdiction governs perfection, the effect of perfection or nonperfection, and the priority of a security interest in a deposit account maintained with that bank even if the transaction does not bear any relation to the bank's jurisdiction.
(b) Bank's jurisdiction. The following rules determine a bank's jurisdiction for purposes of this part:
(1) If an agreement between the bank and the debtor governing the deposit account expressly provides that a particular jurisdiction is the bank's jurisdiction for purposes of this part, this Article, or the Uniform Commercial Code, that jurisdiction is the bank's jurisdiction.
(2) If (1) of this subsection does not apply and an agreement between the bank and its customer governing the deposit account expressly provides that the agreement is governed by the law of a particular jurisdiction, that jurisdiction is the bank's jurisdiction.
(3) If neither (1) nor (2) of this subsection applies and an agreement between the bank and its customer governing the deposit account expressly provides that the deposit account is maintained at an office in a particular jurisdiction, that jurisdiction is the bank's jurisdiction.
(4) If (1) through (3) of this subsection do not apply, the bank's jurisdiction is the jurisdiction in which the office identified in an account statement as the office serving the customer's account is located.
(5) If (1) through (4) of this subsection do not apply, the bank's jurisdiction is the jurisdiction in which the chief executive office of the bank is located.