If you are reloading the existing saved document with anonymous user set to author level access and there is no author field on the document then you would have to have editor level access in order to "read" it. Seems like your second command is not creating a new document but reloading the first one.
That's the exact same way it works in Notes/Domino.