Unless relatives or friends of the deceased person undertake to, and do, cause the body to be buried or cremated within the time limited by the order or, as the case may be, immediately, it shall be the duty of the relieving officer of the district within which the body was lying at the time of the application to the justice to cause the body to be buried, and any expenses reasonably incurred by him in so doing may be recovered summarily by the council whose officer he is from any person legally liable to pay the expenses of the burial.
An order under this section shall be an authority to any officer named therein to do all acts necessary for giving effect to the order.