A local agency, or any person, corporation, or taxpayer thereof, interested in the determination and establishment of the boundary line, may demur or answer the petition as defendants or intervene in the proceeding. The rules of pleading and practice provided by the Code of Civil Procedure not in conflict with this chapter are applicable to the special proceeding provided for in this chapter.