in "Where Silence Has Lease" was NCC-1305-E, though that was an illusion generated by Nagilum. It checked out as far as Riker was concerned. The real Yamato
was seen later with a different registry.
In practice, only Enterprise
s had the same registry with incrementing letters.