Afari-Gyan causes stir in court