The order was passed by the bench of justice Alok Jain while hearing a habeas corpus petition regarding the alleged illegal detention of Jobanpreet by the Majitha police.