A last-gasp penalty from Jayden Hayward earned Treviso a 22-21 win over Connacht, but a losing bonus point sees the Irish province make the Pro12 play-offs for the first time on a night when champions Glasgow Warriors battered Zebre to also earn a top-four berth.
Treviso had not beaten any Irish side since defeating Connacht 23-3 in October 2013, and the Italians were in a perilous position after 15 minutes when converted tries from Rory Parata and Fionn Carr put the visitors 14-0 ahead at Stadio Monigo in the penultimate round of the regular season.
But the underdogs, who are battling with Zebre to earn automatic qualification to the Champions Cup, roared back to within two points before the break thanks to quickfire tries from Luca Morisi and Braam Steyn.
A converted penalty try in the 46th minute then put the hosts in front, only for the visitors to regain the lead when Peter Robb touched down for his first Connacht try after great work from the backs.
It appeared as though Connacht would withstand heavy pressure, but with the clock winding down they were penalised at the scrum and Hayward nailed his kick from halfway to earn Treviso the win.
Connacht may have scraped into the play-offs, but it was a different story for Warriors, who hammered sorry Zebre 70-10 at Scotstoun Stadium - with Leone Nakarawa scoring a hat-trick in the 10-try rout.
Tries for Nakarawa, Adam Ashe, Taqele Naiyaravoro and two from Glenn Bryce helped Glasgow to a healthy 35-10 lead at the break.
Nakarawa scored his second shortly after the restart and had his third by the 52nd minute, before Greg Peterson, Ali Price and Duncan Weir - who finished the match with 25 points - also joined in the glut of tries.
Rounding off the action, Munster kept their top-four hopes alive with a narrow 27-19 win over Edinburgh, whose own play-off chances come to an end.