It seems that you have been able to solve this eviction with your ex. I am really glad he was willing to move. I live in a state (Texas) similar to the laws in Florida. My elderly father owned a home that was paid for before he met my stepmom. She also had her own home which she sold and kept the money from when they got married. Her son Charley (my step brother) who was 68 years old had a house fire in the home he owed and asked to move in with my dad while his house was repaired. He was there for over 2 years and showed no signs of moving out. He even threatened my father a few times and got in his face, telling him that he was going to beat up my 97 year old father. My father was scared of him.
In those 2 years, my stepmom developed dementia and needed more help that they were able to give her at home. So my dad decided to move into an assisted living facility with her. He wanted to sell his house to help with the costs of living there. My stepbrother refused to leave even after his mother and my father moved out. We needed to clean the house so we could to get it on the market to sell but Charley still refused to move. He had never paid rent, utilities or even food while he lived there. I hired some cleaners to clean out the house, Charley refused to let them in and then he called the police on me. We were told we could not force him to move out. Police told me that we could not cut off the electricity, cable, water or change the locks. We had to go through the court system to get him out. It took us nearly 6 months.
We filed with the courts and had to wait until we were put on the dockets. Then we pleaded our case with the judge. Charley also pleaded his case and claimed the house was the family homestead. Yeah it was my dad's home but it was never his mom's or his. The judge issued an order and then Charley had to be served with eviction papers. He had 30 days to fight the eviction. then we went back to court and were issued final eviction notice signed by the judge. He had 30 days from that date to be moved out. If he had had an attorney it could have been years before we could get him out. Each step of the way cost us court fees and filing fees and fees to pay the servers. It was a terrible mess.
Squatters have rights and they don't have to be married to you to have those rights. Even if they never paid a cent for rent or utilities, you can't just kick them out. It's unfair but it is the law. Just be glad your ex did not know that law.