Any county having a retirement system for its employees may include in it the employees and attachés of the superior court of that county whose salaries are paid by the county. Where such action is taken by any county the included employees and attachés shall be subject to all of the provisions of the local retirement system.