Observe that $f$ is an analytic isomorphism to conclude that $Z$ and $Z\setminus C$ are both closed in the relative topology (i.e. the topology induced on $Z$ by the topology of the ambiant space). But $Z \setminus C$ cannot be closed in the relative topology since $C$ is not open in the ambiant topology. Hence there is no such isomorphism.