(a)
Except as otherwise provided in subdivision (e) or (g), the security interest of the legal owner has priority over conflicting security interests of junior lienholders and holders of security interests perfected pursuant to Sections 9306 and 9313 of the Commercial Code and of unperfected security interests in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part and its proceeds.
(b)
Except as otherwise provided in subdivision (e) or (g), the security interest of a junior lienholder has priority over conflicting security interests of holders of security interests perfected pursuant to Section 9313 of the Commercial Code and of unperfected security interests in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part and its proceeds. Conflicting security interests of junior lienholders rank in the order designated on the permanent title record maintained by the department.
(c)
Except as otherwise provided in subdivision (e) or (g), a security interest perfected pursuant to Section 9313 of the Commercial Code has priority over conflicting unperfected security interests in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part and its proceeds.
(d)
Except as otherwise provided in subdivision (e) or (g), conflicting unperfected security interests in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part and its proceeds rank according to priority in time of attachment.
(e)
(1)
Except as otherwise provided in subdivision (g), the security interest of any secured party shall not have priority over any security interest of a party having a subordinate security interest by virtue of the preceding provisions of this section to the extent that the otherwise senior secured obligation was incurred subsequent to receipt by that creditor of actual or constructive notice of the existence of the otherwise junior security interest unless the obligation arose pursuant to the terms of a security agreement for the purpose of preserving the collateral or protecting the interest of the senior secured party therein or unless the otherwise senior secured obligation was incurred under a binding agreement that the credit would be extended by that creditor.
(2)
For purposes of this subdivision receipt of a copy of the registration certificate which reflects the existence of a security interest shall constitute constructive notice of the existence of the security interest. In interpreting the provisions of this subdivision but for no other purposes, it is the intent of the Legislature that the priorities among conflicting security interests be determined in accordance with the rules of law applicable to priority as to interests in real property.
(f)
Except as otherwise provided in subdivision (g), the security interest of the legal owner or a junior lienholder has priority over a conflicting security interest of a holder of a perfected security interest in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part which is inventory, including the proceeds of the inventory. The rules of priority regarding conflicting security interests of holders of a perfected security interest in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part which is inventory and of holders of security interests perfected pursuant to Sections 9306 and 9313 of the Commercial Code or unperfected security interests in a manufactured home, mobilehome, commercial coach, truck camper, or floating home subject to registration under this part shall be governed by Sections 9322, 9323, 9324, and 9325 of the Commercial Code.
(g)
If the holders of two or more of the several security interests shall otherwise agree among themselves, the relative priorities among the holders of security interests who have so agreed shall be determined according to this agreement.