Salman Khan taken to court