Just to re-affirm, P0841 is for the Pressure Control Switch, not the Solenoid.
You do not need to drop the pan to replace the switch, but ATX fluid will come out when replacing it. I would consider draining out the fluid from the bottom of the pan first, then inspect/replace the switch...