The European Union adopts laws on the basis of EU treaties. The Treaties establish the EU's institutions, list their powers and responsibilities, and explain the areas in which the EU can legislate with Directives or Regulations. European Union laws are a body of rules which are transposed either automatically (in the case of a regulation) or by national legislation (in the case of a directive) into French domestic law, whether in civil, criminal, administrative or constitutional law. The Court of Justice of the European Union (CJEU) is the main judicial body of EU laws. The EU's view is that if EU law conflicts with a provision of national law, then EU law has primacy; the view has been gradually accepted by French courts.