Italian qualifier Mattia Bellucci pulled off an impressive victory over former world number one Daniil Medvedev in Rotterdam on Wednesday, securing his place in the ATP quarter-finals.