Davao has the highest murder rate, the second highest rape rate, and the fourth highest number of index crimes in the country, according to official police data for the years 2010 to 2015. Nevertheless, Duterte claims that the city is one of the world's safest, a narrative that gained currency in the national media, creating a widespread public perception that has been a significant factor in establishing support for his nationwide drug policy. Prostitution in the Philippines is illegal. In Davao, by city ordinance, police ensure that prostitutes have a valid health card, but do not arrest them. In 2010, the Philippine Child Protection Unit stated that Davao was one of the top five areas for child prostitution and sex tourism in the Philippines. Jeanette Ampog, the executive director of Talikala, a Davao-based NGO that helps prostitutes, said in October 2016 that child prostitution had sharply increased over the past two years. She said that children were cheaper and more marketable. Through the support of Duterte, the City Council amended ordinance No. 1627, Series of 1994, to impose a prohibition on selling, serving, drinking, and consuming alcoholic beverages from 01:00 until 08:00 each morning. Executive Order No. 39 was signed by Duterte, reducing the speed limits for all kinds of motor vehicles within the territorial jurisdiction of Davao City in the interest of public safety and order. Duterte also signed Executive Order No. 04, Series of 2013 to impose an order creating the implementing of rules and regulations for the new comprehensive anti-smoking ordinance no. 0367-12, Series of 2012. Davao City's Firecracker Ban was also implemented with ordinance No. 060-02/1406-02, Series of 2002 by the City Council through the support of Duterte. Another known accomplishment was that the City Government of Davao was able to acquire 10 more ambulances for central 911 intended for medical emergencies and 42 new mobile patrol vehicles and motorcycles for the Davao City Police Office (the first and only 9-1-1 emergency telephone number in Asia which is also free of charge). Duterte, through Executive Order No. 24, ordered all shopping malls and commercial centers to install, operate and maintain high end and high definition closed circuit television (CCTV) cameras at all entrance and exit points of their premises.

Answer this question "Did Duterte get in to legal troubles?" by extracting the answer from the text above.
a prohibition on selling,