This episode hits all the alien/time travel notes:

The convenient clothes line of native garb. The tuque that hides vulcan ears (T'Mir’s hair is long enough to hide hers)

“They realized they couldn’t rely on gambling…”