The computer maker initially refused to budge so the customer took the firm to court earlier this year.

According to records just made public, the court found that HP had failed to adhere to its end user licence agreement (EULA), which states that: "If you do not accept these license terms, your sole remedy is to return the entire unused product (hardware and software) within 14 days for a refund."

According to Italian paperCorriere Della Sera, HP was ordered to refund the customer €90 for XP and €50 for Works.

Just last month in France a similar ruling led to computer manufacturer Acer having to cough up €811 in damages to Antoine Gutzwiller over a €599 laptop because of a dispute over pre-loaded software.