Traditional Jain rite to face court test