This needs to be executed for forced rename
    // Removed declined name from db
    stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_DECLINED_NAME);
    stmt->setUInt32(0, guidLow);
    CharacterDatabase.Execute(stmt);

And finally this
    sWorld->UpdateCharacterNameData(guidLow, newName);