In politics, difficult decisions often have to be made. People in politics have to choose between two bad options. One option may be worse than the other, but neither option is ideal. The quote is saying that choosing between the “disastrous” (very bad) and the “unpalatable” (totally unpalatable or unpleasant) is an art in itself.