The Constitution of Estonia is the fundamental law, establishing the constitutional order based on five principles: human dignity, democracy, rule of law, social state, and the Estonian identity. Estonia has a civil law legal system based on the Germanic legal model. The court system has a three-level structure. The first instance are county courts which handle all criminal and civil cases, and administrative courts which hear complaints about government and local officials, and other public disputes. The second instance are district courts which handle appeals about the first instance decisions. The Supreme Court is the court of cassation, and also conducts constitutional review, it has 19 members. The judiciary is independent, judges are appointed for life, and can be removed from office only when convicted by court for a criminal deed. The Estonian justice system has been rated among the most efficient in the European Union by the EU Justice Scoreboard.