Sometimes you just need to let them experience that you are right first, as long they're just making themselves miserable for a bit.
Also, it works wonders to let them make a choice between two acceptable solutions instead of giving them space to say no.
"Do you want the slippers or the thick socks?"
It doesn't always work, but kids that age are learning to set boundaries, and giving them the illusion of agency often helps.