 The court system consists of civil courts and Sharia courts.UAE's criminal and civil courts apply elements of Sharia law, codified into its criminal code and family law.Flogging is a punishment for criminal offences such as adultery, premarital sex and alcohol consumption.