Judge rules against BZA costs county more than 15k