It sucks but it makes sense for the merchant. The bank should return the fees but the exchange rate difference is likely lost.
Also another good reason not to use a debit card for any online transaction. At least with a credit card, no one can take your money while they're settling the dispute.