He certainly could advice "patriotic" top-level DNS servers to change "a few things".
That would certainly be on brand. Abusing American soft power and destroying is a consistent Trump strategy.
I guess, although I don't see Slovenia exercising any real leverage over domain owners. It would be funny if having an EU domain exposes operators to GDPR obligations or the like though.