Brexit not to influence ties with Europe: British PM