(a)A takes property belonging to Z out of Z’s possession, in good faith, believing, at any time when he takes it, that the property belongs to himself. A is not guilty of theft; but if A, after discovering his mistake, dishonestly appropriates the property to his own use, he is guilty of an offence under this section.