Hi there
How old is your LO?
I don't recall seeing any BW advice in the books - but Tracey always said not to try sleep training (ie PU/PD) when they are in pain. So I think you have to be softer when they are in pain - while trying to minimise the amount of AP as you say!
When Katie has NW related to teething, I give her pain meds and teething gel ASAP and then cuddle her for 15 min or so to give the pain meds chance to work, and by then she usually calms down so I put her back into the cot awake and she will generally get back to sleep herself. I have on the odd occasion BF or rocked her to sleep when she's been ill or in pain - I figure that an occasional use won't hurt...
Others may have other comments
HTH
bryony