The submissions were made in the context of a writ petition seeking a declaration that women should be allowed to pray in mosques without restrictions.