Cal. Rev. & Tax. Code § 107.4
(a) For purposes of paragraph (1) of subdivision (a) of Section 107, there is no independent possession or use of land or improvements if that possession or use is pursuant to a contract that includes, but is not limited to, a long-term lease, for the private construction, renovation, rehabilitation, replacement, management, or maintenance of housing for active duty military personnel or their dependents, or both, if all of the following criteria are met:
(b) This section shall not apply to a military housing unit managed by a private contractor that is rented to a tenant who is an unaffiliated member of the general public.