If you want to be creative, get with a friend. He buys it, you fly off somewhere away from the cops, once you're in an instance together make sure you're not winged up any more, he jettisons it (NOT abandons or this won't work), you scoop it. Since it was jettisoned and not abandoned it should be marked "stolen" when you check your inventory.
Alternatively, take a mission to legitimately deliver some from a faction you don't mind having mad at you, abandon the mission. The mission cargo should now be marked "stolen"