Ultimately it's his choice to give them back or not.
It was an error, in the receivers favor.
If I personally rec'd the coins and was asked POLITELY to return the funds bc of a script error (non intentional) I would do so in a heart beat.
I guess I'm trying to say that neither parties acted in a moral or upstanding way.
It was an interesting read though