How can you decide the 1 dollar bill in your hand is dirty or clean?
It is dirty if its serial number was marked as stolen or related to other crime. If you get it from the criminal then it makes sense it's taken away from you (besides other consequences). If you get it several months/"hands" afterwards then you're obviously innocent.
Something similar should apply for bitcoin.