The provisions of Sections 172, 172a, 172b, 172d, and 172g of this code shall not apply to the sale or the exposing or offering for sale of any intoxicating liquor in any premises within the areas prescribed by said sections for which a license was issued under the Alcoholic Beverage Control Act (Division 9 (commencing with Section 23000), Business and Professions Code) and is in effect on the effective date of this section or on the effective date of any amendment to Section 172g specifying an additional institution, or in any licensed premises which may become included in such a prescribed area because of the extension of the boundaries of any of the institutions mentioned in said sections or because of the increased enrollment or number of resident students at any of such institutions.
Any such licenses may be transferred from person to person, and may be transferred from premises to premises if the premises to which the license is transferred are not located nearer to the boundaries of the institution, as they exist on the date of the transfer, than the premises from which the license is transferred, except that such license may be transferred once from premises to premises located nearer by not more than 300 feet to the boundaries of the institution as they exist on the date of transfer than the premises from which the license is transferred. If a license is transferred pursuant to this section from premises to premises located nearer by not more than 300 feet to the boundaries of the institution as they exist on the date of the transfer than the premises from which the license is transferred, such license shall not be thereafter transferred to any other premises located nearer to the boundaries of the institution as they exist on the date of the transfer than the premises from which the license is transferred.
Ca. Pen. Code § 172f