A city may form a maintenance district, in which event Chapter 26 of Part 3 of Division 7 of the Streets and Highways Code, excepting Sections 5850 to 5853, inclusive, as now or hereafter provided, shall hereafter apply. In such event, the officers referred to therein shall be deemed to be the city officers performing the same duties.