He got the song wrong, but that stories true. It was just during the recording of This Girl Is Mine I think. McCartney's butt hurt feelings despite the fact that he himself made tens of millions off copyrights of other people's songs that he owned, and that Michael buying the rights hurt him in no way financially. He didn't own those rights to being with.