of this section and who is serving as a justice on the date of enactment of this section shall, notwithstanding the period of service of the justice, in order of duration of service beginning with the justice who has served on the Supreme Court for the longest period of time, be deemed to have retired from regular active service under section 371(b) upon the date of commission of each new justice as they are appointed under section 7. . (b) Clerical amendment The table of sections for chapter 1 of title 28, United States Code, is amended by adding at the end the following: 7. Appointment. 8. Duration of active service. . 3. Senior justices Section 294 of title 28, United States Code, is amended— (1) in subsection (d), by striking the period at the end and inserting except as provided by subsection (e).