There is no way to overwrite as downgrade is protected. Your sim slot might also be broken as that part breaks quite easily too. Your only option is Nokia care (even care cannot downgrade, they need to replace the phone with a new one).