Formula 1 president Stefano Domenicali has confirmed contingency plans are in place for the 2027 F1 calendar if the conflict in the Middle East continues next year.