If you want to be strict, then Nato Membership was off the table for Ukraine since 2014 either way as long as this clause exists.
It was actually a catch 22 from the Ukraine perspective:
Insist that Crimea is a part of Ukraine and thus barr yourself from ever applying for Nato Membership
or
Concede Crimea to Russia but make an entry into Nato possible
Either way, Russia would've gotten something out of it.
That's the bloody irony, if the "goal" of that Invasion was to barr Ukraine from joining Nato, then Putin already accomplished that in 2014.
But barring that, there's still the fact that you would let a member join that is currently fighting a conflict where a fundamental rule is: Pick fight with one, pick a fight with all.
Even if you make some exclusions, getting a unanimous vote on that entry would be next to impossible, so you would also have to add some exclusions to article 5, which sure as shit will not get touched because that's one of those "no buts or rather "as few buts as possible" rules.