If the patent, on review in court, fails the originality, novelty, or lack of prior art review, the patent can be dissolved.
https://www.retaildive.com/news/newegg-the-bane-of-patent-tr...
https://www.newegg.com/insider/newegg-vs-patent-trolls-when-...
A patent filed on a prompt would most likely fail the novelty/prior art review phase of the patent application, so the only way a patent could succeed being granted in the first place would be through extreme secrecy and probably bribery of a patent agent to push the patent through.