Phoenix Wright: Ace Attorney: Justice for All
January 16, 2007
In Episode 2 of the game, during Ini Miney's testimony, Phoenix is interrupted by Franziska von Karma then sarcastically thinks "Well, excuuuse me, Princess", quoting Link's catchphrase from the Zelda TV show.
Note that this reference was added specifically in the English language version of the game, and is not present in any other version.
The creators of Phoenix Wright: Ace Attorney: Justice for All held no right on Nintendo's Zelda, but they only included a minor reference to the series.