Turkish court adviser backs AKP