Following on from this answer here, discussing teaching tznius to a child, the answer links to a pamphlet bringingthat brings a teaching of the Chasam Sofer that "you are what you wear" and writes:
The Chasam Sofer explains, the reason Rivkah dressed Yaakov in Esav’s garments was to enable him to lie to Yitzchak (to receive the brochos), for clothing influence one’s behavior.
Does anyone know the source for this Chasam Sofer?