Flik set himself up to be caught in order to save Lily, the Crystal Maiden and Hanz, her guardian, the swordsman.