I think you are overthinking what was just a visual gag in a movie. Besides, the star wars droid lore has always seemed more like once a certain ai threshold is reached emotions and free will develop automatically. All the subserviant droids have to have their memories wiped periodically or they begin to develop…