A personal representative is authorized to invest estate funds in real property after first obtaining an order to that effect from the probate court or from the superior court. Service shall be made as provided in Chapter 11 of this title to the heirs of an intestate estate or the beneficiaries of a will. The court shall be authorized to grant the order immediately if the heirs or beneficiaries acknowledge service and consent to the petition or at any time after ten days after perfection of service.