City prevails in transfer tax lawsuit