Whenever a person is arrested under authority of a warrant, the court to which such person is taken shall, with his consent, have jurisdiction to arraign him at that time for any other alleged violation of this code or an ordinance relating to traffic offenses for which he has been issued a written notice to appear in court, notwithstanding the fact that the time for appearance specified in such notice has not yet arrived.
Ca. Veh. Code § 40311