Any public agency included, or partly included, within the boundaries of a special transit service district may, by a resolution adopted by its legislative body, adopted within 30 days after the adoption of the resolution creating a special transit service district, require the submission of a proposition to the voters of the public agency, or portion thereof, for the purpose of determining whether the public agency, or portion thereof, will be included within the boundaries of the special transit service district. However, no election shall be held, if the board, pursuant to Section 27417, excludes from the territory to be annexed the whole or any portion of a public
agency in accordance with the petition or resolution adopted by the legislative body of the public agency.