Cal. Health & Safety Code § 51343
(b) Homeownership assistance under this chapter may be provided for any purposes authorized under Section 51402, including, but not limited to, all of the following:
(f)
(1) The agency may, in its discretion, permit the lien of the downpayment assistance loan to be subordinated to refinancing if it determines that one of the following applies: