That's transtator technology for you. Now you know why Kirk was so riled when McCoy left his communicator behind on Sigma Iota II.
McCoy: "In all the confusion, I think I left it.
Kirk: "Left what?"
McCoy: "My communicator, I think I left it in Bella's office."
Spock: "The communicator contains a transtator, the integral part found in all machinery found of the Enterprise, so it is very likely that the imitative Iotians will have made impressive technological progress the next time they are visited by the Federation."
Kirk: "Bones, do you realize what you've done? Someday the Iotians may demand a piece of our action."