Barrister Mainul Hossain was produced before the court