Ravenna was the capital of the Western Roman Empire in the 400s, of the Ostrogoth Kingdom in the early 500s, and seat of the Exarchate of Ravenna until 751.
Venetia existed within the Exarchate of Ravenna, as part of the Byzantine Empire, and what happened in the Exarchate mattered to Venetia.