Also, if you want even further back precedent for this kind of plot device, I highly recommend reading a Connecticut Yankee in King Arthur's court by Mark Twain.
https://en.wikipedia.org/wiki/A_Connecticut_Yankee_in_King_A...