Thomas questions apex court's locus to quash his appointment