(a)
Where the acquisition of property for public use violates a use restriction coupled with a contingent future interest granting a right to possession of the property upon violation of the use restriction:(1)
If violation of the use restriction was otherwise reasonably imminent, the owner of the contingent future interest is entitled to compensation for its value, if any.(2)
If violation of the use restriction was not otherwise reasonably imminent but the benefit of the use restriction was appurtenant to other property, the owner of the contingent future interest is entitled to compensation to the extent that the failure to comply with the use restriction damages the dominant premises to which the restriction was appurtenant and of which he was the owner.(b)
Where the acquisition of property for public use violates a use restriction coupled with a contingent future interest granting a right to possession of the property upon violation of the use restriction but the contingent future interest is not compensable under subdivision (a), if the use restriction is that the property be devoted to a particular charitable or public use, the compensation for the property shall be devoted to the same or similar use coupled with the same contingent future interest.
Source:
Section 1265.410, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1265.410.
.