its a veiled threat because elon is a self-described free speech absolutist where the eu does not believe in significant chunks of free speech (so called disinformation or hate). tbh i hope he closes any physical EU presence and ignores all of brussels laws.
If he wants to leave the European market he is free to do so, but unless he wants to provide Twitter without getting any revenue stream, closing physical offices is not enough.
As long as he wants to sell ads here, Twitter must comply with our rules and laws and can be cut off from it's (paying) customers otherwise.