An important detail in a contract is a clause that addresses who will pay the legal fees if a legal dispute arises. Or, the parties can agree up front in the contract to submit their disputes to binding arbitration or mediation. Possibly, the legal expenses can be negotiated. Nowadays lawyers are more willing to consider creative compensation arrangements. Under a contingency fee arrangement, the lawyer's fee is derived from a percentage of the amount that the client wins.
Lawyers are more inclined to accept a contingency fee where large amounts are at stake.
Even if a court commands one party to pay the other's legal fee, certain factors can complicate the actual recovery of money. As one example, the other party simply may have no money to pay the fee. Or, the court might only award reimbursement of some of the legal fees and not all. An appeal of a court's ruling could hold up the matter, and payment, for years. This article does not constitute legal advice.