The fire department, including its apparatus, when going to any fire in the city or returning therefrom, shall have the right-of-way over the streets, lanes, and ways of the city to the exclusion of all persons, vehicles, and railroad trains of every kind. No persons other than members of the fire department shall be permitted to ride upon the firefighting apparatus in going to or returning from fires.