A bench of Justices Ajay Rastogi and C T Ravikumar was hearing a matter relating to the maintenance of the temple.