Nothing contained in Section 2782 shall prevent a contractor responsible for the performance of a construction contract, as defined in Section 2783, from indemnifying fully a person, firm, corporation, state or other agency for whose account the construction contract is not being performed but who, as an accommodation, enters into an agreement with the contractor permitting such contractor to enter upon or adjacent to its property for the purpose of performing such construction contract for others.
Ca. Civ. Code § 2782.1