People might not know but in japanese nouns are always genderless. In this case, when Goofy said that to Sora, he said "His/Her Highness" without specifying genre. Thus, this is a translation mistake, because by the time KH2 was going to be released they didn't know wether it was Mickey or Minnie. Most likely they assumed it was Mickey so they translated it that way.