An Agent can only exist in one Repository at a time, with in the same Core. You cannot protect an Agent with existing Recovery points in one repository, to another Repository on the same Core. Core logic's will forbid this from occurring.
In order to move an Agent from one Repository to another on the same core, please see below.
NOTE: Protection will start with a base image in Repository 2.