Sara Errani was inspired by huge crowd support at Foro Italico to shock China's number two seed Li Na 6-3 4-6 6-2 at the Rome Open.