Court of appeal upholds ruling