If the style isn't used anywhere you can just kill it in the IDML or INX file. This will involve editing some XML, but it's pretty painless, I promise.
The easiest way is in the INX file. Open it in a text editor and search for the name of the evil style. It will be an attribute of a <psty> element, like this:
<psty pnam=”c_PureEvil” …
Delete the entire psty element. Save and close. Open the INX with InDesign. The style will be gone. Everything it was applied to will now be formatted with [No Paragraph Style].
The process with IDML is very similar, but a little more involved. It's a cinch if you have Oxygen, which can edit IDML files without unzipping them. But if you don't, just use the drag and drop IDML script I posted about here: https://creativepro.com/dra…..ml-etc.php
Basically, you just drop the IDML file on the script and it turns the IDML into a set of nested folders.
Find the Resources folder. Inside it, you'll find Styles.xml Open it with a text editor.
Search for the name of the evil style. It will be an attribute of a <ParagraphStyle> element, like this:
<ParagraphStyle Self=”ParagraphStyle/PureEvil” Name=”PureEvil” Imported=”true” …
Select the entire ParagraphStyle element (everything between and including the opening and closing tags) and delete it.
Save and close Styles.xml
Re-run the script to pack everthing back into and IDML archive.
Open the IDML with InDesign. The style will be gone. Everything it was applied to will now be formatted with [No Paragraph Style].