Section 17A(2) in The High Court Judges (Salaries And Conditions Of Service) Act, 1954
(2)Where any Judge, who has elected to receive the pension payable to him under Part II or Part III of the First Schedule, retires, or dies in circumstances to which section 17 does not apply, gratuity, if any, shall be payable to the person or persons entitled thereto under the ordinary rules of his service if he had not been appointed a Judge, his service as a Judge being treated as service therein for the purpose of calculating that gratuity.