Import .apkg to a deck with a different name

I am currently working on an add-on, where I want to export a deck to an Anki Deck Package and import it on another account to a deck with a different name. Changing the filename has no effect (no surprise here). I think I could achieve this by unzipping the .apkg file, editing the .anki2 file, and zipping it again.

But is there any simpler way of doing this?
mw.col.import_anki_package() doesn’t provide a way to select the deck it gets imported to.