John Ratcliffe's unannounced visit to Russia was "primarily" to warn Moscow against attacking the neighbouring Baltic states, a source said.