Factoring in P would remove the convenient security argument that breaking RSA is in a whole different complexity class than verifying/decrypting RSA.
But if it is some galactic algorithm with a large constant factor and exponent 20, then you can still double the security of an RSA key by making the key 3% larger. That gives a pretty decent security margin.