The Appellate Division has upheld a ruling by Justice Debra Silber in a case brought by two Brooklyn homeowners.