The Dallas Mavericks had a special guest on Tuesday night, when recently retired Dallas Cowboys quarterback Tony Romo donned a Mavs jersey.Romo, who was recently hired by CBS to be a color commentator for its NFL broadcasts, took part in the pregame warmups for the Mavericks ahead of a 109-91 loss to the Denver Nuggets.Romo was the guest of owner Mark Cuban, who wanted to pay homage to the longtime Dallas great by getting him some on-court action against the Nuggets.Cuban was so intent on getting Romo on the court that he told ESPN.com he was willing to pay a fine in order to make his plan work:"I told him what I was going to do and said, 'Fine me if you don't like it,'" Cuban said.However, commissioner Adam Silver responded that the NBA would not honor any contract Romo signed, so the idea was quickly put to rest.Romo still had a great time, though, as you can see in the videos below. He went through the team's shoot-around, showed off a smooth jump shot, and took the court in pregame warmups before watching the game alongside Cuban behind the Mavs' bench:

Though Romo showed he has some serious basketball skills, he acknowledged that he felt out of place alongside guys like legendary forward Dirk Nowitzki:

"I feel like they're all 7 feet tall," Romo said. "They're all long and lean. I look like a turtle out there next to these guys. But it's a special group of guys who are talented and the NBA is a special fraternity."

Some have questioned whether the Mavs and Cuban were making a mockery of the game and being disrespectful by having Romo on the court before the game, but Cuban quickly defended himself and his team against those claims:

"Anybody who thinks a layup line is disrespectful, hasn't watched an NBA game," Cuban said. "We've got people shooting half-court shots at every break, we've got kids for ball boys ... We're entertainment. And if they're so self-important they can't recognize that, it's on them. Not me."

At 32-49 on the season, the Mavs have been eliminated from playoff contention for a while. Therefore, it's not like Romo was on the court before a meaningful contest for Dallas.

It was simply a chance for Cuban and the Dallas community to come together and thank Romo for his impressive career with the Cowboys before he heads to the broadcast booth for the 2017 NFL season.