Loeb's Restaurant, the New York style delicatessen threatened with eviction after 20 years of business at 617 15th St. NW, has been granted a reprieve by a D.C. Superior Court judge.

Judge Gladys Kessler ruled yesterday that, under the terms of its lease, Loeb's was owed six months' notice that it had to move instead of the 30-day notice claimed by its landlord, Oliver T. Carr Management Inc.

The Carr company has taken over the Albee building, where Loeb's is located, and other buildings on the block where it plans to construct a $40 million mall, office and hotel complex.

The company wanted Walter and Sigrid Loeb, the restaurant owners, to be out by Aug. 1. As a result of Kessler's decision, however, Carr will now have to give the Loebs new notice of intent to take over the property and then give them 180 days to move, according to John W. Karr, an attorney who represented the Loebs.

In anticipation of shutting down their 15th Street restaurant, the Loebs plan to open a gourmet style delicatessen in Bethesda in January. Meanwhile, Walter Loeb said, he and his wife are "elated" to win some extra time in downtown Washington.