Lahore cleric taken to court; confesses to his crime