Legal anomalies in appointment of mayor as CDA chief