Cal. Gov't Code § 65583.1
(b) Sites that contain permanent housing units located on a military base undergoing closure or conversion as a result of action pursuant to the Defense Authorization Amendments and Base Closure and Realignment Act (Public Law 100-526), the Defense Base Closure and Realignment Act of 1990 (Public Law 101-510), or any subsequent act requiring the closure or conversion of a military base may be identified as an adequate site if the housing element demonstrates that the housing units will be available for occupancy by households within the planning period of the element. No sites containing housing units scheduled or planned for demolition or conversion to nonresidential uses shall qualify as an adequate site.
Any city, city and county, or county using this subdivision shall address the progress in meeting this section in the reports provided pursuant to paragraph (1) of subdivision (b) of Section 65400.
(c)
(1) The Department of Housing and Community Development may allow a city or county to substitute the provision of units for up to 25 percent of the community’s obligation to identify adequate sites for any income category in its housing element pursuant to paragraph (1) of subdivision (c) of Section 65583 where the community includes in its housing element a program committing the local government to provide units in that income category within the city or county that will be made available through the provision of committed assistance during the planning period covered by the element to lower income households at affordable housing costs or affordable rents, as defined in Sections 50052.5 and 50053 of the Health and Safety Code, and which meet the requirements of paragraph (2). Except as otherwise provided in this subdivision, the community may substitute one dwelling unit for one dwelling unit site in the applicable income category. The program shall do all of the following:
(2) Only units that comply with subparagraph (A), (B), (C), (D), or (E) qualify for inclusion in the housing element program described in paragraph (1), as follows:
(A) Units that are to be substantially rehabilitated with committed assistance from the city or county and constitute a net increase in the community’s stock of housing affordable to lower income households. For purposes of this subparagraph, a unit is not eligible to be “substantially rehabilitated” unless all of the following requirements are met:
(B) Units that are located either on foreclosed property or in a multifamily rental or ownership housing complex of three or more units, are converted with committed assistance from the city or county from nonaffordable to affordable by acquisition of the unit or the purchase of affordability covenants and restrictions for the unit, are not acquired by eminent domain, and constitute a net increase in the community’s stock of housing affordable to lower income households. For purposes of this subparagraph, a unit is not converted by acquisition or the purchase of affordability covenants unless all of the following occur:
(ii) At the time the unit is identified for acquisition, the unit is not available at an affordable housing cost to either of the following:
(C) Units that will be preserved at affordable housing costs to persons or families of lower incomes with committed assistance from the city or county by acquisition of the unit or the purchase of affordability covenants for the unit. For purposes of this subparagraph, a unit shall not be deemed preserved unless all of the following occur:
(D) Units in a motel, hotel, or hostel that are converted with committed assistance from the city or county from nonresidential to residential by the acquisition of the unit or the purchase of affordability covenants and restrictions for the unit, are not acquired by eminent domain, and constitute a net increase in the community’s stock of housing affordable to low- and very low income households. For purposes of this subparagraph, a unit is not converted by acquisition or the purchase of affordability covenants unless all of the following occur:
(E) All spaces in a mobilehome park, as defined in subdivision (a) of Section 18214 of the Health and Safety Code, that is acquired with committed assistance from the city or county where any of the following apply:
(ii) At least 50 percent of the current residents in the mobilehome park to be acquired are lower income households and the entity acquiring the park agrees to enter into a regulatory agreement for a minimum of 55 years that requires both of the following: