Hard agree. It was management who messed up hiring. It’s management who should bear the responsibility for it.
Management should take a painful paycut or resign to demonstrate some contrition.
If an engineer screws up hugely, do you want get rid of them immediately and find a replacement, or evaluate whether or not they learned a very important and expensive lesson that may happen again with a replacement?