Sir Keir Starmer has made no secret of his wish to cultivate closer ties with the European Union.