The appeals court sided with historic preservationists on Friday.