The Gemara comments: It might enter your mind to say that since Elijah will not come on Shabbat eve due to the trouble involved, the Messiah will also not come then, and if so, on Shabbat eve he should also be permitted to drink wine. However, this reasoning is rejected: It is only Elijah who will not arrive on Shabbat eve, but the Messiah himself may arrive, for once the Messiah comes, all the nations will be subservient to the Jewish people, and they will help them prepare whatever is needed for Shabbat.
WTF