It's amazing that calendar invitation spam isn't more prevalent. The times it has happened to me have been incredibly infuriating because declining means a response to the spammer and ignoring can leave it on your calendar.
Another workaround is to make a new calendar, transfer that appointment to the new calendar, and then delete that calendar.
It shouldn't be necessary, but here we are.