You can experiment with pairing it through a routing device of your choice - just bring it extremely close to the mains-powered router and pair it again (without deleting it first). You may need more than one try until it changes its path to HE ... Now we have tools to know whether it is paired directly of via a repeater (router).
But actually, this is useful only for the older generation Aqara devices, which used to 'stick' to one repeater/router forever.
Aqara P1 is using the newer '3.0' SoC and actually doesn't need this 'sticking' procedure IMO.