I'm surprised nobody has mentioned this before, but perhaps it's an apocryphal story. At least I can't find reference to it anymore. All I remember now is that I learned about it from one of the pages discussing the detailed changes in the original movie during attempts to de-specialize or restore it from prints.
The way that I've read it, the non-diegetic explanation is that it was a script error caused by a late change to C-3P0's dialogue. In early versions of the script C-3P0's line wasn't "There'll be no escape for the princess this time." The original line was, "There'll be no escape for Captain Antilles this time." The trouble is that Captain Antilles was not a very important character in Star Wars, especially in 1977. He was only in the one scene, and then only long enough for Vader to kill him.
The line was changed and dubbed over to be less confusing to the audience. If I recall correctly, there was a making-of special or interview where Anthony Daniels (the actor who portrayed C-3P0) talked about the difficulty of redubbing that one line, because it was changed after initial screenings and had to be done short notice.
One thing didn't change, though: R2-D2 and C-3P0 weren't Leia's droids, they were Captain Antilles' and that's why they were on board. This is confirmed in Star Wars: Episode III, where Senator Bail Organa gives the droides to Captain Antilles and specifically asks him to wipe C-3P0's memory (a routine operation for droids, as horrifying as that might be). R2-D2 is unique in that his memory is never wiped in the whole saga, which is why he's so... quirky. And also why he knows to do the right thing. R2's not just extremely knowledgeable, he's extremely experienced.
Edit to add: I just noticed that @AlejandroJaramillo did mention this before and I scrolled right past it! His Vimeo link is broken, unfortunately, but you can see the page on archive.org. That still doesn't include the video, but it does allow us to see the title and description.
Deleted Magic
Watch two hours of deleted scenes from the original Star Wars Trilogy (Part 1 of 2)
Searching for that, I was able to find on archive.org a documentary called "Star Wars Deleted Magic Revisited", which doesn't have an IMDB page but I did find it listed on themoviedb.org.
After some searching, I was able to locate a copy of the documentary online. Within the first 15 minutes of the documentary, you can find the screenshot below in Star Wars Deleted Magic Revisited. There are subtitles in the actual documentary because the audio levels are extremely low due to the fact that it was the on-set audio.