Kanhaiya was produced before the court, after the expiry of his police custody remand, amidst tight security and sloganeering by lawyers inside the court premises.