COPENHAGENApple Inc. has violated a consumer law in Denmark by giving a customer a refurbished iPhone with used components in replacement for his new one that wasn’t working properly, a Danish court ruled.