Paul O’Sullivan has done what no bank chairman ever wants to do – agree to an enforceable undertaking with the regulator.