Piracy is wrong, there's no getting around that.
However, in certain circumstances, such at this one it is semi-justifiable. But there is that underlying fact that you're paying for a different code and therefore, it's a different product. By that logic, you should pay. It's really about what you'd consider as wrong, as I'd say both are within the bounds of the law.