He wrote on his internet blog that the resignation of the Labour rebel David Cairns , the Scotland minister , was " based on honesty and principle " and that he " deserves respect for what he has done . "