In the late Venetian republic, when the doge died, they held the funeral for a statue.
The Venetian state was always an ad hoc construct, and institutions came and went at the convenience of the ruling elite.