The primary argument for why capital punishment is kept around in the US is to terrify people into not committing crimes.
The guillotine is a classic terrifying death machine while still being more humane than other, more modern techniques. It's also difficult to fuck up and cheap to administer.