Will it stop him? Nah. Will people sue? Surely. Linked content [1].

[1] https://www.huffpost.com/entry/elon-musk-government-worker-firings_n_67bcdabbe4b0fceb21221c78