When calling AbstractSession.writeModel, which calls DocumentModelFactory.writeDocumentModel, we read all document parts, even if not yet loaded, to check if they are dirty. But the non-loaded ones cannot be dirty => optimize this unnecessary read.
This happens for instance when changing the lifecycle state of a document: no need to reread it completely.