This means that if a client is filtering out autoGenerated elements, they are still left with the wrapper <div> (mw-references-wrap).
As we did with the about attribte in T176425 we should probably move all Parsoid attributes to the wrapper (typeof/about/data-mw/data-parsoid).