The meeting with Isaac Newton is fictional. The two never met while Peter was in England.
Peter was still traveling in Europe during the Streltsy revolt in 1698. General Gordon had suppressed the mutiny by the time Peter returned. The tsar, did, however, participate in the interrogations and the executions.