Melbourne Stars booked their place in the Big Bash semi-finals for the fifth successive year and stole the home berth away from the Perth Scorchers with a sensational 52-run win at the WACA.
A disciplined bowling display from David Hussey's men rolled the Scorchers for just 94 as they lifted themselves into second place, ahead of their opponents.
Unusually for matches at the WACA, the side winning the toss elected to field first - it has only happened three times previously in 24 BBL games - but that decision was to ultimately be the Scorchers' downfall in this low-scoring match.
Not that it looked that way when the Stars top order of Luke Wright (14), Marcus Stoinis (5) and Kevin Pietersen (8) were all dismissed with only 33 on the board and Peter Handscomb (9) followed soon after to the impressive Matt Dixon (3-32), the bowler playing just his fourth BBL match.
Skipper David Hussey (36 off 25) and Rob Quiney (21 off 14) battled back with a useful partnership of 40 but another mini-collapse, losing four wickets for 24, left Stars tottering at 119-8.
However, Evan Gulbis struck a timely unbeaten 25 despite being given a couple of lives courtesy of dropped catches by Dixon and a tough chance for Michael Carberry in the deep.
Gulbis was assisted late on by Daniel Worrall (16 off 14) who lifted the Stars to a competitive but below par 146-9 on the slow WACA wicket.
With the calculators in full use, the Stars knew they had to restrict their hosts to 108 or less to not only win the game but also grab one of the coveted home semi-final berths.
Things could not have gone any better as the prolific Michael Klinger (0) was removed fourth ball and new opener David Willey (2), Michael Carberry (7) and Ashton Agar (0) were all sent back in the Powerplay.
Cameron Bancroft (1) made it five at the tail end of the eighth over, leaving Australia Test star Adam Voges to salvage something from the innings.
The veteran struggled to find any support, though, save for Ashton Turner (11) and Andrew Tye (10), as the Scorchers were blown out for just 94, gifting the home semi on a plate to the Stars.
Skipper Voges stood alone at the end with an unbeaten 46 from 51 balls as Ben Hilfenhaus (3-17), Worrall (3-15) and Adam Zampa (2-16) strangled the scoring rate with regular wickets to leave the capacity Perth crowd stunned - and desperately disappointed.
These two sides will meet again in the semi-finals when revenge will be on the Scorchers minds - and a first ever semi-final victory at the fifth attempt will be in the Stars' thoughts.
The final group match in the BBL sees Melbourne Renegades, needing to win well to make the last four, travel to table toppers Adelaide Strikers. That clash is live on Sky Sports 1 from 8.30am on Monday.