handle_conflicting_encoders
ret = handle_conflicting_encoders(state, true);
ret = handle_conflicting_encoders(state, false);