Westpac has defeated a responsible lending case brought by the Australian Securities and Investments Commission in relation to almost 262,000 home loans, with the Federal Court finding the corporate regulator misinterpreted the operation of national lending laws.