Split Brooklyn appellate panel cites judge’s erred judgment in Family Court case