It was a prime example of the sort of realpolitik that became closely associated with his name.