Sorry,
i was thinking using this reaction after a Schmidt rearrangement (Vogel p898-9), that would bee an interesting route to piperonal from piperonylic acid (obtained from piperine), but i don't think the methylenedioxy ring will survive the Schmidt reaction (10% oleum/sulfuric acid medium)... anyway it could bee aplied to other benzoic acids.