What a finish. Harlequins will be playing Heineken Cup rugby next season thanks to an injury-time try from substitute Simon Keogh that was coolly converted by Andy Dunne, himself a replacement for the misfiring Paul Burke at fly-half. As soon as the kick in front of the posts went over, referee Nigel Whitehouse blew the final whistle and Harlequins fans, probably disbelievingly, roared in triumph.
Jason Leonard's final competitive appearance, entering the game in the 72nd minute when he should have entered at half-time to steady a shaky Quins team, ended with his team squeezing in with Europe's big boys by a point. What a dénouement to a career. Quins fans and the neutral will smile for Leonard, but truthfully Montferrand should have won easily. 'We were robbed,' said their captain Tony Marsh. 'But that's been the story of our season.'
The French began and finished the stronger, enjoyed the best of the forward play and until Keogh's late try had scored two tries to one. But both teams failed to take control. The Madejski, disappointingly a little more than half-full, saw Montferrand enter the break leading 16-14 after a period of frantic rugby. Quins may have edged the possession, but they overcomplicated passes and failed at times to execute the simple stuff.
Burke was a major culprit. His kick after five minutes straight into touch from the halfway line, when he should have secured a breather for his forwards in Montferrand territory, established the template for his and Quins' afternoon.
From the spot he was more trustworthy, though, his penalty on 11 minutes opening the scoring. Three minutes later and a crash ball to Montferrand wing Aurélien Rougerie in Quins' 22 resulted in an Anthony Floch penalty, which evened things up.
Then, on 17 minutes, came Quins' most creative moment. Will Greenwood received the ball 10 yards inside Montferrand's half and his clever diagonal kick dipped behind Sébastien Kuzbik. As the left wing turned to retrieve, full-back Gavin Duffy nipped in to score, although Burke missed the conversion.
It was 8-3 to Harlequins, but six minutes later the French converted their forward supremacy, Whitehouse awarding a try to man of the match Olivier Azam after consulting the video. Floch converted and his team were now two points ahead. Instantly, though, Montferrand flanker Marc Raynaud was sent to the sin bin for dissent.
Merceron's majestic drop goal from 30 yards was then answered by two Burke penalties, on 30 and 37 minutes, before Floch's left foot sent his team to the break leading 16-14.
This was when Leonard's experience should have been introduced to try to steel up a pack that was failing to hold the ball and was losing the 50-50s. Instead, the second half continued with possession being won then lost by both teams and it was left to Greenwood, again, to conjure some inspiration, his break on 50 minutes creating another penalty opportunity for Burke, which he took. Quins were now a point ahead.
Mel Deane then got his head the wrong side in tackling the rampaging Rougerie and the centre walked off groggily to allow Keogh's entrance.
On the hour, Montferrand had their second try. Hooker Azam's true line-out delivery on Quins' five-metre line, saw scrum-half Pierre Mignoni wheel away from the resulting maul for his fourth try of the competition. Floch slotted home to take his team to 23-17 and you felt that surely now Quins would be overrun.
When Burke skewed a simple penalty opportunity on Montferrand's 22, he was replaced by Dunne and he instantly scored a vital penalty, awarded to Quins after Raphaël Chanal's punch on 62 minutes. The Montferrand centre received his 10 minutes of shame and the replacement fly-half took Quins to within three of Alain Hyardet's team, before a Floch penalty re-established Montferrand's six-point lead.
Finally, though, Leonard was on and when Chanal returned to proceedings, he lasted just six more minutes before a second yellow, again for punching, saw him sent off on 78 minutes. Mark Evans's team kept fighting and then it came. A break down the right saw Ugo Monye pass inside to Keogh and over he went - under the posts.
'It's the reason why you play the game,' Leonard said simply afterwards. He will be missed.
Harlequins: Duffy; Harder, Greenwood, Deane (Keogh 55), Monye; Burke (Dunne 61), Bemand; Worsley (Jones 61), Fuga, Dawson (Leonard 72), Miall, Evans (Davison 67), Sanderson, Vos (capt), Diprose.
Montferrand: Floch; Rougerie, Chanal, Marsh (capt), Kuzbik (Viars 59); Merceron, Mignoni; Soulette (Emmanuelli 72), Azam, Attoub, Louw (Pearce 50), Privat, Raynaud, Magne, Vermeulen (Audebert 50).
Referee: N Whitehouse (Wales).