Actually, the first thing Pilar needs is to talk to Crown intelligence about what the Crown wants Osirion to end up believing. Security isn't going to be preventing these people from returning home, can't hold them for ransom. Lord Asmodeus's interests can only be served here by giving them some form of false impression or false information.
Her curse seems to believe that giving another country wildly misleading military intelligence is a happy fun prank! Pilar is not actually preventing herself from thinking repeatedly about how incredibly stupid that is. She has much less practice at controlling her own thoughts than most Chelish people of her status. Her curse, thankfully, does not seem to care.