It is not a question of your landlord doing anything illegal or legal per se by filing an eviction proceeding in a county other than what was contractually agreed to as from what you have written. Rather you should object to the venue of the county by way of a filed pleading stating that the lawsuit involving you should be moved to the county stated in your written lease.