I’ve tried to write several replies and I keep getting bogged down in terms!
Traditionally what is commentary is clearly defined. For example the unfortunate situation with the dog is commentarial. it is found in the Dhammapada commentary. The books themselves are called commentaries.
By definition, traditionally, suttas are not commentarial. So your regarding your question, “Likewise the part where it said in one sutta…” … by definition it’s not commentarial if it’s a sutta. However the question of whether it is an EBT is another matter. Different people have different criterion on deciding what is earlier and what is later. And many traditional Theravada Buddhists would not recognize a meaningful difference between earlier and later sutta texts.
The commentaries do seem to include lots more bad behaviour, though!! But I don’t believe that one can then work backwards and say that because something in a sutta includes bad behaviour that it therefore means it is later.
One thing I think its good to remember is that for one, we don’t know when most of the suttas with King Pasenadi happened in relationship with each other. Of course the Piyajātika sutta seems like it must come early in his relationship with the Buddha and the Dhammacetiya sutta must come at the very end.
And for another, I think it is incorrect to think that the king would not do bad things after he had gone for refuge to the Buddha. For me this is one of the most compelling aspects of the life of Pasenadi. He clearly has a mixture of good and bad qualities that manifest throughout his life. It’s not recorded anywhere at what point, if ever, he became a stream enterer. But despite his shortcomings he shows many wonderful qualities. His willingness to be taught Dhamma by his wife and change his position. His reflections on life and his habit of checking them with the Buddha. His ability to use the teachings in his life, as we see in the weight loss verses. And of course the faith he shows to the Buddha by the end of his life.
So often we see examples of profound life conversions in the suttas. For me, it’s wonderful to see someone exploring the teaching in a way that is more familiar to those of us who ar less meritorious individuals.