CONTARENUS, Nicolaus, Doge v. Venedig