The Palani Devasthanam subsequently approached the Madras High Court and the Supreme Court seeking recovery of the property