Hugh Jackman has been adamant for years that "Logan," which hits theaters in March, would be his final appearance as Wolverine. After nine appearances across 17 years, Jackman has finally decided to quit the clawed X-Man, and not even a potential team-up with Deadpool could convince him to stay on board. Jackman is done.

Except...

RELATED: Hugh Jackman Dashes Dreams Of Wolverine/Deadpool Team-Up

It turns out there is one very specific thing that would get Jackman to don the muttonchops and claws one more time: a team-up with the Avengers. As reported by Screen Rant, Jackman definitely would have reconsidered calling it quits if Fox and Marvel Studios could reach an agreement that would allow Wolverine to appear in the Marvel Cinematic Universe.

"If that was on the table when I made my decision [to quit], it certainly would have made me pause. That’s for sure," said Jackman. "Because I always love the idea of him within that dynamic, with the Hulk obviously, with Iron Man but there’s a lot of smarter people with MBAs who can’t figure that out [laughs]. You never know."

The idea of Fox and Marvel reaching such an agreement would have been an out there proposition, until Marvel Studios and Sony reached a similar one that allowed them to share custody of Spider-Man and his universe of characters. Now Spidey is in the MCU and getting his own solo film ("Spider-Man: Homecoming") this year. There haven't even been rumors of such talks happening between Fox and Marvel, though, so the idea of seeing Jackman team up with Robert Downey Jr.'s Iron Man or fight Mark Ruffalo's Hulk still seems unlikely.

Still, Hugh Jackman has been talking about this team-up for a long time. He brought the idea of an inter-studio team-up back on the press tour for "The Wolverine" in 2013, kept talking about it in 2014 and said that the Sony deal for Spider-Man made him optimistic about a crossover in 2015.

The fact that Fox's Wolverine films can't include any Marvel Studios properties also had an effect on "Logan," Jackman also admitted. "When I spoke with the guys who created [the story] 'Old Man Logan' – a lot of people think, 'Oh this is 'Old Man Logan.' And I’m like, 'Well...' The inspiration for that was 'Unforgiven.' That’s what we have in common. But there’s no Hulk babies in this one."

RELATED: Hugh Jackman Reveals Whether Logan Is Really His Final Wolverine Film

Set beyond the events of “X-Men: Days of Future Past,” 2017’s “Logan” is set in the near future following a cataclysmic event that ravaged the mutant race. As a result, Wolverine’s healing factor will be greatly diminished. It will also be Hugh Jackman’s final outing as Wolverine, and will introduce Dafne Keen as the character’s teenage clone X-23.

Directed by James Mangold, written by Michael Green, Scott Frank, James Mangold and David James Kelly, and starring Hugh Jackman, Patrick Stewart, Boyd Holbrook, Richard E. Grant, Dafne Keen and Stephen Merchant, “Logan” arrives in theaters on March 3.