Editor Script to reimport OBJ with new scale and rotation?

Is there a way to modify the import settings for a bunch of OBJ files, specifically rotation and scale, and then reimport the static meshes? I have a bunch of OBJ files that need to be realigned and rescaled.

I’ve got a tool on the marketplace that does that without needing to re-import: