A challenge to a Canmore tax targeting homeowners whose properties are largely vacant has been struck down by the province’s highest court.