Purge/clean/delete deleted topics from database

Continuing the discussion from Introducing permanently delete post functionality:

I have a forum where there was a big cleanup. But when reviewing the database backup, it is still polluted with the old soft-deleted data.

Is there some kind of rake command that can be run to purge deleted items from the database?