Selling or retaining RECs does not impact the overall energy use measure (in MJs) but does impact whether the energy is categories as “renewable” or “nonrenewable”. If the REC for that renewable energy is sold, then that energy is placed in the “nonrenewable” category. If the REC is retained, then the energy stays in the renewable energy category.
Net metering does not impact the total MJs, but like REC ownership, it affects where it is placed in terms of renewable versus non-renewable.