I'd be ripping up the carpet and painting the skirting boards and when the floor polisher is done, you can then touch up the bits where he might damage the skirting boards. That is so much easier than painting them with a newly polished floor. Any paint you drop will come up with the sanding...