... The cost of selling returned merchandise as B stock is just part of the cost of doing business.
Which cost is of course paid by the customers, in the A stock's prices... Except, it seems, most customers are not ready, not even remotely ready, to pay that extra, considering how many look for the absolutely cheapest price, avoiding taxes and customs when possible, etc. That A stock vs. B stock cost isn't necessarily cheap, as, in theory, the device should take a visit to nearest official repair facility or similar (in some rare cases it could be that same shop, especially for official sellers), for an official statement of its new state after the visit at the previous customer. Without proper official statement of the item's status, it is basically a random guess, and the item may be need to be sold at huge discount (which would need to be amortized into the A stock prices).
Thus, customers end up buying from the cheapest shop, which hasn't included such "cost of doing business" in the A stock prices, and thus the shop can not afford to not put the returns back into A stock circulation, and sells returns after a cursory check... Yet customers expect to get the top stuff for those bottom prices
I think in EU the laws were changed so that sellers can now ask some cost from customers for returns, but it is up to the sellers to choose whether they do so or not, affected by competition, market pressure etc. (and they have to tell about such costs beforehand). That change allows sellers to move the return related costs towards those that return items, instead of spreading such costs to all customers. But, it is hard to put that into use, when the bottom price competitor might also advertise that returns have no extra cost (and customers do not stop to think why or how that competitor can do so)...
Of course, that is where the laws should come in to even the playfield, to make sure all the players play by the same rules, but my experience has been that the laws, more correctly, the law enforcement isn't working that well. Some shops happily do the nasty things without getting caught, or if they get caught, they just explain it was a rare mistake and may get an insignificant penalty. Leading to the situation where those shops that do things right will end up just dying away sooner or later because all the customers flock to that cheap shop, even if its reputation took a small hit (which most didn't notice, many others forgot, and the rest don't care because they can save a bit).
Personally, I don't typically mind getting preopened packages as long as the thing contains everything that was supposed to be in there, and the item is of such a type that can not be "abused" or used in unintended ways. Say, a set of screw drivers or a simple calculator, easy to see if they are still ok. But, for example PC components are often "tested" for overclocking potential (and then returned when they don't meet the higher expectations), and cheap scopes hacked for options, yet normal user can not see what sort of state they are in, so for those I would not accept returned items as new.