$P$ has a polynomial inverse implies that the Jacobian of $P$ is a constant function. There is a conjecture known as the Jacobian conjecture which says that $P$ has a polynomial inverse if and only if its Jacobian is constant. https://en.wikipedia.org/wiki/Jacobian_conjecture