No being banned is not desired. We can expect him to throw a fit, try to retaliate and buy someone to overturn it.
However, nonconsensual porn IS the desired outcome by all we know. Nonconsensual porn other countries cant stop because Musk is powerful enough is even better outcome for Musk.
Musk doesn't appear to have a goal of getting banned, but does appear to consider laws beneath him and will try all other solutions before eventually complying with local laws.