On the origin of reverse polarity patches found by Hinode in sunspot penumbrae