In reply to woolsack:
I suspect a 32 sprocket may be a bit big for the ultegra mech (regardless of the cage length). The cage length allows a greater difference between the longest and shortest chain run, but you may find that the top jockey wheel interferes with the sprocket.
Also, how were you planning on changing the cage? Mechs are not generally designed to be dismantled so I'm not sure where you'd source a cage from or why you'd want to.
A practical solution would be to swap the rear mech for a mountain bike one - you'd have to do a bit of googling to make sure it's compatible, but it's definitely been done.