I was thinking that maybe they could set it such that for the last few levels, the character goes through stiffer experiences that trigger new abilities to deal with what is to come for the showdown.
They could also set other solutions for the end should the player fails to gain the abilities. Of course, the player should suffer penalties for the failure. And I don't mean in skills but in certain results from encounters.
... probably doesn't too good, does it? ...