A deeply divided Albany appeals court on Thursday affirmed a lower court order that allows a city on the Canadian border to unilaterally shift the responsibility of collecting and enforcing delinquent real property taxes onto its county government.