This usually depends on the clauses in the agreement between the Licensor and Licensee. The agreements usually have clauses that explain the duties of both parties and if either party fails to perform those duties then it leads to breach of contract. Also if either party does something that is not permitted within the agreement then also it leads to breach of contract. There is a damages clause that pacifies the party on the receiving end of the breach, Damages clause explains damages as "any claim of The Licensor against the Licensee for breach of this Agreement, including but not limited to, losses, damages to installations and furniture, dues, arrears, etc. against which the Licensee shall be entitled to claim and adjust the Security Deposit."
Hope this helps.