Think about it...
If a RMT sold you a stolen car, then you gave that car to me... is it suddenly legal for me to have it because I didn't buy it when it was first stolen?
It's the same thing but to a much lesser extent. The same rule applies though.
If Gil is illegal for any reason, it stays illegal. It doesn't pass around a few people then suddenly become ok.