No, it wasn't possible. First, I just want to say that the people acted properly. When they discovered protesters on their farm staging a sit-in, the farmers immediately called the police station. They stayed calm, returned home, and had their employees monitor the protesters to make sure that no one was hurting the animals.
When the police arrived, there wasn't any law that enabled them to remove the protesters from the farm. The police waited until a magistrate told them that they were supposed to remove the protesters and then the appropriate next steps would be determined. The police removed the protesters one by one. It took seven hours to remove all the protesters from the farm. The animals hadn't been fed all morning as a result of the sit-in, and they were screaming from hunger.
It was mostly the municipal police, or the Sûreté du Québec, the provincial police, who handled the situation. There weren't any regulations or laws that enabled the police to remove these people.