A transaction executed by the personal representative in accordance with an order authorizing or directing the transaction has the same effect as if the decedent were living at the time of the transaction and had carried it out in person while having legal capacity to do so.