This is among the boons for which Bagalamukhi's devotees worship her. Other Mahavidya goddesses will also be reported to represent identical powers helpful for defeating enemies, to become invoked by their worshippers by way of various rituals. Here one might ask why the Supreme Character of Godhead couldn't detect Rāhu. https://totalbookmarking.com/story20056405/helping-the-others-realize-the-advantages-of-baglamukhi