The Supreme Court on Wednesday ordered a judicial inquiry into the failure on the part of Ghaziabad District Jail authorities to release an accused, who was granted bail in April in a case of alleged forced religious conversion related to a marriage.