Here in Switzerland for example it does matter whether you bought it in good faith or not. If you bought in good faith you can keep it, no matter if it's been stolen before.

Marc