(a) Except as otherwise provided in (c) of this section, the following rules apply:
(1) while a security certificate is located in a jurisdiction, the local law of that jurisdiction governs perfection, the effect of perfection or nonperfection, and the priority of a security interest in the certificated security represented by the security certificate;
(2) the local law of the issuer's jurisdiction as specified in AS 45.08.110 governs perfection, the effect of perfection or nonperfection, and the priority of a security interest in an uncertificated security;
(3) the local law of the securities intermediary's jurisdiction as specified in AS 45.08.110(e) governs perfection, the effect of perfection or nonperfection, and the priority of a security interest in a security entitlement or securities account;
(4) the local law of the commodity intermediary's jurisdiction governs perfection, the effect of perfection or nonperfection, and the priority of a security interest in a commodity contract or commodity account.
(b) The following rules determine a commodity intermediary's jurisdiction for purposes of AS 45.29.301 - 45.29.342:
(1) if an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that a particular jurisdiction is the commodity intermediary's jurisdiction for purposes of AS 45.29.301 - 45.29.342, this chapter, or the code, that jurisdiction is the commodity intermediary's jurisdiction;
(2) if (1) of this subsection does not apply and an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that the agreement is governed by the law of a particular jurisdiction, that jurisdiction is the commodity intermediary's jurisdiction;
(3) if neither (1) nor (2) of this subsection applies and an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that the commodity account is maintained at an office in a particular jurisdiction, that jurisdiction is the commodity intermediary's jurisdiction;
(4) if (1), (2), or (3) of this subsection does not apply, the commodity intermediary's jurisdiction is the jurisdiction in which the office identified in an account statement as the office serving the commodity customer's account is located;
(5) if (1), (2), (3), or (4) of this subsection does not apply, the commodity intermediary's jurisdiction is the jurisdiction in which the chief executive office of the commodity intermediary is located.
(c) The local law of the jurisdiction in which the debtor is located governs
(1) perfection of a security interest in investment property by filing;
(2) automatic perfection of a security interest in investment property created by a broker or securities intermediary; and
(3) automatic perfection of a security interest in a commodity contract or commodity account created by a commodity intermediary.