<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Legal Conflict Detection in Interacting Legal Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tingting LI</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tina BALKE</string-name>
          <email>t.balke@surrey</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marina DE VOS</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Julian PADGET</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ken SATOH</string-name>
          <email>ksatoh@nii.ac.jp</email>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Centre for Research in Social Similautaion, University of Surrey</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Centre for Research in Social Simulation, University of Surrey</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Computer Science, University of Bath</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Dept. of Computer Science, University of Bath</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Principles of Informatics Res. Division, National Institute of Informatics</institution>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <kwd-group>
        <kwd />
        <kwd>legal conflict detection</kwd>
        <kwd>interacting legal systems</kwd>
        <kwd>answer set programming</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Social rules such as laws, conventions and contracts prescribe and regulate human
behaviour. It is also possible for us to break these rules at our discretion and face the
consequences. In the normative multiagent systems community, normative frameworks are
a way to identify a set of norms that describe the ideal behaviour of agents by specifying
what is permitted, obliged and empowered within a given normative context. In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] it
was demonstrated how these frameworks could be applied to the legal domain. In [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
using the same technology, we showed that conflicts between legal specifications can be
detected and resolved. Two types of conflicts are distinguished: (i) weak conflicts
capture situations where an event/action is permitted by one legal system but prohibited by
another, and (ii) strong conflicts between an obligation to perform an action in one and
a prohibition on the action in another. An important assumption in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is that the
specifications are independent of one another in that there is no connection between their
respective transition rules. This is a strong assumption which is rare in reality, where
such interactions will surely occur, intended or otherwise. This is why we here extend
the work to the detection of conflicts between interacting legal specifications.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>
        We begin by modelling individual legal specification using an event-driven approach [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
in which a legal specification is defined over a trace of exogenous events. Starting from
an initial state, each event brings about a state change, through the initiation and
termination of fluents (i.e. permission, power, obligation and domain). From such a trace,
we can compute a sequence of states that constitute the model of the legal specification.
This process is automated through the encoding of the formal model in a computational
framework built on Answer Set Programming, which is then combined with a similar
translation of the different legal specifications.
      </p>
      <p>Consequently, we can address the matter of the combination of a set of legal
specifications – interacting legal specification, denoted CI – to examine how individual
specifications may interact with one another, such that either an event or a state change in one
institution can trigger an event or state change, respectively, in another. We introduce two
special rules in order to describe this interaction: (i) cross-specification generation rules
provide a bridge for event generation between specifications; (ii) cross-specification
consequence rules update the states of different specifications. By means of these rules, the
occurrence of an external event may trigger all the constituent individual specifications
to compute their next state – or if the event is not recognised by a specification, its next
state is the same as its current state. Therefore, a sequence of combined models can be
obtained from a given trace, where the combined model comprises the models of each
individual specification.</p>
      <p>We view each event trace as characterising a particular case that an interacting legal
specification CI may encounter. Conflicts are then detectable by comparing fluents from
the individual models at a given time point. The whole detection procedure is
implemented as an AnsProlog program and each generated answer set that contains an atom
conflict(X; Y; I; F) represents the occurrence of a conflict between specification X and
specification Y at time I with respect to fluent F. Furthermore, by testing all possible
cases a CI may encounter, we can identify whether the CI is in general conflict-free.</p>
      <p>We demonstrate this mechanism with a case study from a topical issue related to
digital civil rights in Europe. The Irish Data Protection Authority (ODPC) has recently ruled
that the Irish subsidiaries of Facebook are not breaking EU laws by sharing data with the
NSA. The subjects involved are: Facebook Ireland, EU privacy law and US surveillance
law. The data sharing activities of Facebook triggered a legal conflict between EU
privacy law and US surveillance law. On the one hand, EU law states that exporting data to
another country is legal only if adequate protection is provided. On the other hand, US
law requires US companies to cooperate when data collection for surveillance purposes.
As a subsidiary of Facebook, Facebook Ireland is placed in a dilemma, as it should abide
by both US and EU law. The discussion of the ruling is out of the scope of this paper,
but this case itself fits the characteristics of interacting legal specifications, in that a data
sharing event without user’s consent by Facebook generates the event of data exportation
for EU privacy law and the event of data collection for US surveillance law respectively,
leading to a state change for both EU and US legal positions. The resulting states of the
EU and US in turn influence the state of Facebook with regard to the permission and
obligation of sharing data. The initial state specifies that the NSA is a trusted party but
there is no acceptable protection can be guaranteed by the NSA. Therefore, EU privacy
law and US surveillance law disagree on the permission and obligation of Facebook’s
data-sharing action, resulting in a legal conflict. Such a conflict can be detected by our
system automatically when given an event describing the scenario.
Acting under several jurisdictions at the same time is becoming the norm
rather than the exception, certainly for companies but also (sometimes
without knowing) for individuals. In these circumstances disparities among
the different laws are inevitable. Here, we present a mathematical and a
computational model of interacting legal specifications, along with a
mechanism to find conflicts between them. We illustrate the approach by a
case study using European Privacy law.</p>
      <sec id="sec-2-1">
        <title>Cooperating Legal Specifications</title>
        <p>(a) (b)
Three Forms of Combining Legal Specifications
(c)
(a) Comparative2: a set of peer legal specifications combined together
to form a common governance scope, but states evolve independently.
(b) Interacting: an interlinked structure of a set of legal specifications,
in which one might change the states of another. (Focus of this work)
(c) Merged: all the laws of each legal specification are merged to form a
completely new specification.</p>
      </sec>
      <sec id="sec-2-2">
        <title>Interacting Legal Specification</title>
        <p>- Bridge Specification: separates connecting rules from the main
specifications to make individuals oblivious to their interaction partners.
Maintaining the flexibility and reusability of the structure.
- Cross-specification Generation Relation: an event in one specification
triggers one or more events in one or more legal specifications:
*
* generation power: gpow(source, event, destination)
- Cross-specification Consequence Relation: a state change of one
specification may result in a state change of another specification:
*
* initiation power: ipow(source, fluent, destination)
* termination power: tpow(source, fluent, destination)</p>
      </sec>
      <sec id="sec-2-3">
        <title>Example:</title>
        <sec id="sec-2-3-1">
          <title>EU Priavay Law</title>
          <p>initiated(perm(dataExport(User,Data,Party)), eu,
I):holdsat(adeProtected(Data,Party), eu, I)
instant(I), spec(eu).</p>
          <p>Legal Conflict Detection
1. Formalize and model individual legal specifications
2. Combine them to form an interacting specification
3a. User-lead detection
- give a particularly interesting event trace
- trigger states change of all participating specifications.</p>
          <p>- obtain combined state model - a sequence of states.
3b. Full-diagnose detection
- compute all possible event traces
- for each trace, run 3a.</p>
          <p>- obtain combined state model in response to each trace
4. find conflicts by comparing fluent values between specifications at
each state, by means of the detection program below:
w·eakConflict(SpecX, SpecY, I, F):- holdsat(F,SpecX,I), not holdsat(F,SpecY, I),
ifluen·t(F,SpecX), ifluent(F,SpecY),
instant(I), spec(SpecX; SpecY).
strongConflict(SpecX, SpecY, I, E):- holdsat(obl(E,D,V), SpecX, I),
not holdsat(perm(E), SpecY, I),
ifluent(obl(E,D,V),SpecX),ifluent(perm(E),SpecY),
instant(I), spec(SpecX; SpecY).</p>
          <p>Bridge Specification
occurred(dataExport(User,Data,Party), eu,
I):occurred(iShare(User,Data,Party), fb, I),
holdsat(gpow(fb,dataExport(User,Data,Party),eu), I),
not holdsat(consent(User,Data,Party), fb, I),
instant(I), spec(fb;eu).
occurred(dataCollect(User,Data,Party), us,
I):occurred(iShare(User,Data,Party), fb, I),
holdsat(gpow(fb,dataCollect(User,Data,Party),us), I),
not holdsat(consent(User,Data,Party), fb, I),
instant(I), spec(fb;us).</p>
          <p>Bridge Specification
initiated(perm(share(User,Data,Party)), fb,
I):holdsat(perm(dataCollect(User,Data,Party)), us, I),
holdsat(ipow(us,perm(share(User,Data,Party)),fb), I),
instant(I), spec(fb;us).
initiated(perm(share(User,Data,Party)), fb,
I):holdsat(perm(dataExport(User,Data,Party)), eu, I),
holdsat(ipow(us,perm(share(User,Data,Party)),fb), I),
instant(I), spec(fb;eu).</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>US Surveillance Law</title>
          <p>initiated(perm(dataCollect(User,Data,Party)), us,
I):holdsat(interested(User,Data), us, I),
holdsat(securityDep(Party), us, I),
instant(I), spec(us).</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>M. De Vos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Padget</surname>
            , and
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Satoh</surname>
          </string-name>
          .
          <article-title>Legal modelling and reasoning using institutions</article-title>
          . In T. Onoda,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bekki</surname>
          </string-name>
          , and E. McCready, editors,
          <source>New Frontiers in Artificial Intelligence</source>
          , pages
          <fpage>129</fpage>
          -
          <lpage>140</lpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>T.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Balke</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. De Vos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Padget</surname>
            , and
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Satoh</surname>
          </string-name>
          .
          <article-title>A model-based approach to the automatic revision of secondary legislation</article-title>
          .
          <source>In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Law</source>
          ,
          <source>ICAIL'13</source>
          , pages
          <fpage>202</fpage>
          -
          <lpage>206</lpage>
          . ACM,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>