MARTINSVILLE, Va. — Ryan Blaney celebrated his victory at Martinsville Speedway, a win that launched NASCAR’s defending champion into the title-deciding season finale.

Meanwhile, Christopher Bell and William Byron waited awkwardly alongside their parked cars for a ruling from NASCAR on who would be the fourth and final driver in the winner-take-all decider at Phoenix Raceway.

The issue was whether Bell had smashed into wall on the final lap and rode along it for momentum to give him the final pass he needed to move past Byron for the last spot in the championship. The move was quite similar to one used two years ago at Martinsville by Ross Chastain — it was dubbed the “Hail Melon” — and subsequently banned the ensuing offseason.

Blaney was headed back to the championship finale for the right to defend his title against Team Penske teammate Joey Logano and Tyler Reddick of 23XI Racing. The fourth finalist just waited for what seemed an eternity for a NASCAR ruling.

Bell riding the wall was ultimately deemed illegal and Byron saved Hendrick Motorsports from a humiliating third round of the playoffs. Three Hendrick drivers were vying for the four spots in the finale and only Byron qualified — and only because Bell was deemed to have committed a safety violation.

“We had the situation with Ross here, we went to Phoenix, there was a lot of dialog with the drivers that that’s not a move (they) want to have to make,” said Elton Sawyer, NASCAR’s senior vice president of competition. “In the offseason, meeting with the industry, meeting with our drivers, to a man, that was not a move they wanted to make.”

So it was outlawed.

Bell argued he didn’t have a choice as he hit the wall trying to avoid fellow Toyota driver Bubba Wallace, who claimed he had a tire going down. Bell rode a portion of it for momentum and it got him the pass he needed to tie Byron in points for the final spot next week at Phoenix Raceway.

“I understand that the rule is made to prevent people from riding the wall, but my move was completely different from what Ross did,” said Bell, who was denied a third consecutive trip to the championship race.

“I slid into the wall and kept my foot into it. I guess that is a losing move,” Bell continued. “I didn’t intentionally floor it and go into the fence — I slipped into the wall and that’s all she wrote.”

Said Byron: “He rode the wall and there’s a clear rule against riding the wall. So in my eyes, that’s what counts. If it happened in the past, was fair game. But now the rule is against it.”

Blaney, meanwhile, passed Hendrick driver Chase Elliott with 15 laps to get the win at the track for a second straight year. His win last year propelled him to his first Cup title.

The title goes to the highest-finishing driver next Sunday between Blaney, Byron, Logano and Reddick.

“To have another shot at the championship is really special,” Blaney said. “Try to go back-to-back next week. I’ve got nothing left. Oh my God, I’m tired.”