In the future consider a fee-shifting provision in your contracts (meaning loser pays legal costs). If your case was as clear-cut as you say, it would have enabled you to fight it. It might also have dissuaded your partner from trying to do this to you if they knew they were in the wrong and would have had to pay the costs.