Body taken out of grave after court order