When Lilly was found, she had been chained to stand under the hot sun with no access to fresh food, water or even a resting mound for 60 days straight. What happened next gave her a second chance at life.
As for the laws that protect the rights of animals in India at present, they are defined as 'property' (with limited instances of some rights being granted).
This is the second temple in Cherthala that has taken the step of not using elephants in their rituals, keeping the safety of the public and more importantly, the animals in mind.