No, because if cp happens to be UTF8 that code will never execute, because the internalerrorproc prevents that.
I am trying to force that bug but did not succeed yet in reproducing it. Do you have an example?