At least in Poland it was semi-common that if you had any family abroad they could send you dollars. So yeah a soviet computer was in theory cheaper but it was impossible to buy, or you could just walk into PEWEX and walk out with an actual commodore 64 bought with dollars that you "happened" to have. Of course, PEWEX stores were fully state-sanctioned enterprises, not illegal imports.
I think the point was that the illegality was that manufacturers in the west was not supposed to sell computers to the east?