Hansen prepared for France shock