Hello, you made a mistake in understanding the forwarding behavior.
In your description, the P router forwards the packets after poping out the outter label. Actually, this process determined before the outter label poping out. In other words, the P router decides the destination PE router before poping out the outter label.