Any city, county, or other local agency that owns, operates, or controls any public beach shall allow the use of that public beach by all persons regardless of ancestry, residence, or any characteristic listed or defined in Section 11135. Nonresidents of the city, county, or other local agency shall be permitted to use that public beach upon the same terms and conditions as are residents of the city, county, or local agency.