It was only a small yellow card, but it might have ended Leinster's hopes of retaining their Celtic League title.
Leinster prop Niall Treston was sin-binned for a professional foul late in the first half against Cardiff at the Arms Park tonight, and a 7-6 Leinster lead was a 7-24 deficit by the time he got back on the field.
Leinster, missing 11 first-choice players to Ireland's national squad, have lost three matches on the trot, and face a huge task to get back into title contention.
Cardiff's win was only Wales' fourth Celtic League victory over Irish opposition in 30 attempts.
Only the sniping of Leinster scrum-half Brian O'Meara and the power play of No 8 Des Dillon gave visiting fans anything to cheer about.
For the home fans, block-busting Canadian No 8 Dan Baugh was again the hero with some surging runs, while Harris' six penalty goals equalled his match-winning effort against Borders last weekend.
Scottish referee Iain Ramage was so keen to be part of the game, he was knocked over twice. Given his penchant for whistling, most fans were hoping he'd go down a third time.
After a clumsy start, Cardiff hit their straps in the final minutes of the first half to go into the break 9-7 ahead, and began the second with a stunning burst of action against the 14 Irishmen.
Fly-half Iestyn Harris belted a 50m clearance kick, Cardiff stole Leinster's lineout ball and quick ball gave winger Anthony Sullivan the time and space to score in the corner.
Harris added the extras from the touchline and his fourth penalty goal a minute later to finally give the home crowd something to cheer about this season.
More was to come - a great burst from scrum-half Ryan Powell set up quick ball for captain Martyn Williams to score in the same spot as Sullivan.
Leinster hit back when inside centre David Quinlan slipped some weak tackles to put lock Aidan Kearney over the try-line.
Andy Dunne's conversion cut the margin to 10 points, and his penalty goal moments later narrowed it to seven with 14 minutes remaining.
Arms Park fans braced themselves for another final-minute collapse from their side, but Harris' fifth penalty goal on the 70-minute mark gave his team some breathing space, and his sixth in the last minute was icing on the cake.
Early signs were bad for Leinster, with the home side making 30 easy metres with a rolling maul the Irishmen simply couldn't stop.
The ball went wide to Cardiff new boy Donavan van Vuuren, who was bundled into touch 10 metres out.
Harris opened the game's scoring with a penalty goal in the 11th minute after a Leinster lineout infringement.
Harris doubled the score in the 19th minute after some excellent buildup work from winger Sullivan and Harris himself put the home side within range. Leinster obliged with the infringement, and shots from in front are bread-and-butter for the former league star.
O'Meara missed a long-range penalty-goal attempt, but the visitors continued to press the home try-line and were rewarded when rangy No 8 Des Dillon wriggled out of the Cardiff defence to ground the ball over the line. O'Meara's conversion gave his side the lead, 7-6.
The little scrum-half was proving a thorn in Cardiff's side, and his excellent break on the half-hour mark should have resulted in a five-pointer, but flanker Aidan McCullen's hands let him down.
Harris failed to capitalise, missing a sitter in the 38th minute, but made amends on the stroke of half time when Treston was sin-binned.
Cardiff had the chance to go into the break with a bigger lead after a stirring run from inside their 22m involving most of the team, but van Vuuren was penalised for holding the ball in the tackle, with the try-line and half his team begging for it.
Tries - A Sullivan, M Williams;
Pens - I Harris 6;
Cons - I Harris.
Tries - D Dillon, A Kearney;
Pens - A Dunne;
Cons - B O'Meara, A Dunne.
Halftime: Cardiff 9-7.
Yellow card: N Treston (Leinster 39).
D van Vuuren; N Walne, J Robinson, P Muller, A Sullivan; I Harris, R Powell; T Payne, G Woods, G Powell (K Fourie 65), H Senekal, A Jones, R Appleyard, D Baugh (D McShane 65), M Williams (capt).
C Warner; K Lewis, S Horgan, D Quinlan, G D'Arcy; A Dunne, B
O'Meara (B Willis 61); E Byrne (P Coyle 61), P Smyth (capt), N Treston, B
Gissing (N Breslin 41), A Kearney, A McCullen, D Dillon, L Toland (S Jennings 61).
The Half a Game initiative is currently sweeping across Wales and proving a major success. The scheme aims to give every young player at least half a game every weekend. WRU TV recently visited a festival in Narberth where clubs have fully embraced the initiative.
Both Bargoed and Swansea were seeking their first win of the Principality Premiership season this afternoon. It proved a fruitful day for the hosts - not only did they win, but Bargoed claimed a try bonus point.
Cardiff managed to keep their unbeaten record at home intact, but only just as Bridgend made them work extremely hard before the Blue and Blacks secured a hard fought Principality Premiership win at the BT Sport Arms Park last night.
Former Wales back row Andy Powell gives a guided tour of The Wern, home of Merthyr RFC, who are determined to prove a lot of people wrong and make their mark in their first season in the Principality Premiership.
Wales Sevens head coach Gareth Williams looks back on the Rio Sevens success where he helped GB win silver. He believes the successful campaign is a huge boost to his Welsh squad as they prepare for another World Series, as WRU TV's Graeme Gillespie discovers
British and Irish Lions head coach Warren Gatland will be heading back home to take on the All Blacks next year where for him, success for 2017 is all about going to New Zealand and winning a Test Series.
Last week all roads led to Eugene Cross Park where defending champions Ebbw Vale hosted this season's launch of the Principality Premiership. WRU TV's Graeme Gillespie was there to capture the thoughts of Damien Hudd, captain of Ebbw Vale, and WRU Head of Performance, Geraint John.
Llandovery made it three in a row when they defeated Aberavon in the final of the National Foster's 7s at BT Sport Cardiff Arms Park on Sunday. On another eventful day of sevens, Newport claimed the Plate and the Dragons won the women's crown
Last week saw Cardiff welcome players from around the world for the 21st Golden Oldies Festival. The tournament features players over 35 years of age, and this year's event saw a select few represent the WRU in a 'friendly' against the Wooden Spoon.
Wales Under 18 captain Callum Bradbury is delighted to have seen his side claim a narrow 18-17 victory against a strong SA Schools 'A' side to end the three-match Under 19 International Series in South Africa on a high note.
The Wales U18 squad spent an emotional day in the drug-riddled townnship of Hout Bay. Hout Bay Warriors President Fred Johannes said the visit was 'the talk of the town' and will dream about the day everyday for the rest of his life.
RGC 1404's new head coach Mark Jones is hoping to build 'something special' in north Wales and is already looking forward to the development region participating in the Principality Premiership for the very first time.