President John Mahama has been dragged to court over the appointment of Anthony Kwasi Sarpong as the acting Commissioner-General of the Ghana Revenue Authority.