Since the Korolevs primary pirate station is generated based on the furthest planet, it can get placed seriously in the middle of nowhere when theres a Korolevs in a binary star system.
In my case I found it by calculating that it would turn up about 2500ls out and circling based on that...
It may not be workable, but if it were possible to base it on just the primary stars planets (with a subcheck that it isnt in between the stars) that would be saner.