Adjustments. The Commissioner may require any adjustments that are appropriate. In general, the adjustments required should be consistent with the treatment of the corporation as an S corporation or QSub during the period specified by the Commissioner. In the case of stock held by an ineligible shareholder that causes an inadvertent termination or invalid election for an S corporation under section 1362(f), the Commissioner may require the ineligible shareholder to be treated as a shareholder of the S corporation during the period the ineligible shareholder actually held stock in the corporation. Moreover, the Commissioner may require protective adjustments that prevent the loss of any revenue due to the holding of stock by an ineligible shareholder (for example, a nonresident alien).