I don't think that follows automatically. What matters is the order of the polynomial. Primes is in P was proved around 25 years ago, but the order was 12 and then 6 and the algorithm is theoretically important, but cannot compete with Miller–Rabin for cryptographic applications. Being in P is a definition of tractability, not utility.