No need to strip the wall completely , just take out the vertical mortar joints , dampen , fill with foam , mist back of plasterboard with water and gently press board level , boards packed off floor with lumps of wood to an inch of skirting height . Once skimmed scratch the back , prime all and gloss front of skirting then foam exposed wall , bead of no nails to top rear of skirting , water mist the rest and press into place
After initial foam expansion it will still expand a small amount so check , hold in place with straight edge
Misting the dry surface that's being pressed into expanded foam addy reactivated it and gives a better bond
Always leave gaps with the foam or it will push your skirting off the wall and you will struggle to get it back in position