Unicron, William's willingness to appear to fail is straight out of the medieval story of Lancelot. The movie is far more aware of its sources than audiences seem to think, which is why it is (surprisingly) one of the few films set in the Middle Ages that many of us medievalists really love.