As stepping stones go, this for Leinster was one that wobbled and nearly turned them over. With four minutes remaining they trailed by 10 points; with two minutes to go, by three. They came through and remain unbeaten, but they were as close to defeat as the thickness of the flesh that covers our teeth. No consolation to Bath, though - defeat, tight or not, means their European adventure is over for another year.
The game divided itself neatly into three phases. In the first, lasting a full half-hour, the Irish were at their imperious best. They came to the Rec with Brian O'Driscoll and Gordon D'Arcy restored as a centre pairing after an injury to the latter.
Not that a centre combination was required for the first try. It came after all of a minute. David Holwell, the cool New Zealander who seems to have taken over as puppet-master from Felipe Contepomi, kicked into the wind, down to the Bath 22. Faced with a tricky defensive throw, Bath took the plunge and aimed long.
Too long. Over everyone the ball flew, to be scooped up by Shane Jennings who completed Bath's miserable opening 60 seconds. The next 29 minutes were hardly any more comforting. The Leinster forwards continued to win the ball, and Holwell gave most of it to Victor Costello, the large No 8, in midfield.
Victor knew what he had to do. He bashed ahead, allowing a bit more room for the O' boys in looser play thereafter. O'Driscoll and O'Darcy o'bliged, with loops and inside passes and flips and tricks. It was all very slick and if Girvan Dempsey had managed to hang on to the final pass from O'Driscoll at the end of a sublime movement following a line-out, Leinster might have been well out of sight by the end of this first segment.
As it was, they had to settle for a 10-point lead, Holwell's two penalties to add to the converted try, against a peach of a drop goal by Chris Malone from 45 metres. It was a kick with the wind but against the run of play, and, its soaring majesty apart, Bath had nothing to offer other than a series of rudimentary pick-up and charges by the forwards, all of them comfortably contained by the vigorous Irish defence.
And then it all changed. Denis Hickie bounced off a tackle on Brendon Daniel and Bath were suddenly near the line. Isaac Fea'unati won two line-outs and the rest of the forwards drove. The first drive was as rustic as the previous attempts; the second was a model of close-knit togetherness. At the bottom of the pile was the second-row pair of Steve Borthwick and Danny Grewcock. Borthwick won the toss for the touchdown.
Even when Duncan Bell was sent to the bin on the stroke of half-time for clubbing (not literally) Eric Miller at the side of a pile-up, Bath's new momentum was barely disturbed. They stood level at half-time, Olly Barkley having kicked a penalty for what was to become a frequent infringement - handling in the ruck.
The only relief for the now-besieged Irish in the second half was a couple of clearances by Hickie and O'Driscoll. The rest of the time they were back in their 22, engaged in defence. And not looking half as vigorous now. Such was Bath's dominance that a try had to come. They had nearly scored in the left corner, then the right, and at last they worked Daniel clear. He rounded O'Driscoll - one for the CV - and Bath were deservedly in front.
And then further ahead. Barkley kicked a penalty. In fact, they might have had the game in the bag, had their kicker not missed a couple of, for him, simple chances.
And thus we came to the final segment, by far the shortest. Leinster were out of it, having seen their line-out collapse. They trailed 13-23 with four minutes left. All Malone had to do was clear his lines one more time and surely... his kick was charged down by Holwell, who strolled after the ball for the try he converted.
Two minutes to go. This time it was O'Driscoll who had a kick charged down. But the luck stayed with the maestro, the ball bouncing kindly. He led the charge after it, hoofing it into the 22 where Matt Perry was covering. The full-back was flipped over, the ball came out on the attackers' side and Malcolm O'Kelly was roaming free on the outside.
A four-minute turnaround at the end of three contrasting sections. With just one single outcome: Leinster are still unbeaten and still on course for a home quarter-final tie. Bath aren't.
BATH: Perry; Maddock (Scaysbrook ht), Crockett, Barkley, Daniel; Malone, Walshe; Barnes, Ward, Bell (Stevens 59), Borthwick (capt), Grewcock, Beattie, Lipman, Fea'unati.
LEINSTER: Dempsey; Horgan, O'Driscoll, D'Arcy (Contepomi 76), Hickie; Holwell, Easterby; Corrigan (capt), S Byrne, E Byrne (Nebbett 49), Cullen (McCullen 53), O'Kelly, Miller, Jennings, Costello.
Referee: J Jutge (France).