How to reparent blueprint wihtout opening it?

I have some refactoring that went wrong and I have a blueprint using a parent that doesn’t exist anymore. I need to reparent it but opening it crashes the editor.

I think what youre looking for is how to redirect a BP class via the ini file, I dont have the information handy but its typically designated with K2 and Redirect.

Similar to this but instead of Enum or Struct its for Classes.