For years, Bitrix didn`t allow users to change iBlock type ID. The hack has been known for more than 10 years (without directional modifying DB, ofc), but in Bitrix they think, that nobody would need such a thing.
Feel free to fork and/or contribute!
Target PHP version is 7.4. Tested on 8.3.