Britt Assombalonga's controversial finish handed Middlesbrough a Championship survival boost in a 2-0 win at Millwall.
Assombalonga's eighth league goal of the season and a late Ashley Fletcher penalty stole Boro a second win under new boss Neil Warnock and a big boost in their bid to avoid the drop.
Fletcher fouled Jake Cooper in the build-up to Assombalonga's goal however, the 24-year-old clearly clipping the Millwall defender's heels, before sauntering in on goal and playing in Assombalonga.
As Millwall's players all stopped expecting a free-kick, referee Tim Robinson let play continue - leaving the Lions fuming when Assombalonga's goal was allowed to stand.
The second-half drinks break that quickly followed Assombalonga's goal was instructive as to Millwall's lingering frustrations. Midfielder Ryan Woods asked fourth official Neil Hair: "How is that not a foul? How is that not a foul? f***ing useless!"
Just when Millwall had calmed down however, Cooper felled Fletcher in the box, and the day's controversial figure stepped up and buried the resulting spot-kick.
The loss will prove a dent in Millwall's bid to reach the play-offs, while Warnock will happily grab all three points.
Matt Smith wasted the best chance of a gritty first half, the bulky striker towering over the Boro defence and yet still heading well over from a corner.
Millwall saw more of the ball and played far the neater football, with Woods the best player on the field.
The Stoke loanee bossed the base of the Lions' midfield, but was unable to coax those in front of him into a breakthrough despite initiating a string of threatening moves.
Shaun Hutchinson pulled off a fine block to deny Assombalonga a close-range opening for the visitors, before Djed Spence's flimsy penalty shout was rightly dismissed.
Warnock cut his usual animated, dissatisfied figure on the touchline as he corralled the visiting players back into the changing rooms at half-time.
And his words at the interval had enough of an impact to spur his side into upping the tempo.
Paddy McNair blazed over from near the penalty spot in a glaringly profligate effort however, letting Millwall off the hook right after the restart.
Millwall rallied quickly enough however, and Smith was unlucky not to break the deadlock with a smart header.
Dejan Stojanovic's snap save thwarted the Lions, with the Boro goalkeeper then called into action just moments later to deny Connor Mahoney with his legs.
Millwall's resurgence was stopped in its tracks however, as Assombalonga profited from Fletcher's clear foul to slot home an easy finish.
Fletcher illegally clipped Cooper's legs without censure, coasted through the space and played in Assombalonga with a simple square ball.
As the goal stood, the Millwall players' fury increased, but to no avail.
Millwall battled on but could find no way back into the match. And to add insult to injury, Cooper was caught out and conceded a penalty for hacking down Fletcher in the area.
The gleeful Boro forward lashed home the spot-kick, to send his bench delirious at three hugely valuable points in the battle for survival.
What the managers said...
Millwall's Gary Rowett: "What looked like a trip, what felt like a trip, was a trip. In a tight game, very physical, very direct, it always felt as though one moment would decide the game. I'm not going to excuse our performance, because it wasn't good enough, but it was a blatant trip.
"We're still in the mix for the play-offs but we're running out of games and if we play like that we won't get there anyway. There are some big games still to come. We go to Hull, and the simple fact is we've got to go there and put in a much better performance."
Middlesbrough's Neil Warnock: "I had a chat with the players afterwards on the pitch, you have to look at yourselves sometimes in the mirror. It's not all about managers, you've got to want to be a winner, it doesn't just come to you.
"Djed (Spence) had broken his nose in the first half and he was a bit worried about his good looks I think at half-time. I said to him, 'The only answer to that Djed is to win the game, win the game and know you'll come off the pitch having played your part'."