Collector orders to cancel illegally obtained caste certificate