Any county, city and county, city, or other political subdivision or agency of the State, in this section referred to as “public agency,” which has been invested by grant from the State with the ownership, possession, control or management of tide and submerged lands or any other lands lying under, washed by or abutting the Pacific Ocean, or inland waters of the State, including the beds of navigable rivers, streams, lakes, bays, estuaries, inlets and straits, may, with the prior written consent of the State Lands Commission, agree in writing that any district formed pursuant to this part shall for the term stated in the writing have all or any right, title and interests of any such public agency and exercise all or any jurisdiction of any such public agency in the lands over the lands or any portion thereof.