Start by getting a written list of what they are asking you to do. If you have the list take it to a real estate attorney and find out what your rights are and what they are seeking. The County is tasked with code enforcement and there seems to be something wrong with the structure or the real property and you should find out what they want and negotiate a plan for compliance or an alternative.
Please be sure to indicate the best answer. If this answer was helpful, please mark as helpful below. Only. If and until you and I sign an Agreement for Legal Services, I am not your attorney. These answers are provided for informational and/or novelty purposes