Supreme Court criticized the Allahabad High Court