The code (see here) doesn't actually change t, as the results of the conversion calls are not assigned back.
This code is used for the aggregation values, but not for serializing BSON, which independently converts the high and low uint64_t parts of the Decimal128::Value representation, so it doesn't affect stored data.