It is typical for a lender to require the borrower to pay for court costs in the event of default.