The case came up before the Supreme Court with questions including whether the madrasas in which the petitioners were appointed were validly recognised