We just got back from our third Viva Italia.
While there are mandatory dress codes involving shoes, there is a great deal of walking over uneven pavement, cobblestones, gravel etc.
The tour of the Forum is very uneven and rough.
Closed toes shoes are a safety and comfort suggestion.