The apex court has barred an Allahabad High Court judge from hearing criminal cases until his retirement