I just tested this. You can add a controller as a local with NO LICENSES. Then, enable centralized licenses and you will see the PEFNG capabilities enabled. Once you have this, you can flip the role to be a master and retain that information. Since the centralized licenses are retained for 30 days on a master-local break, this gives you enough time to
a - convert existing locals to new masterIP
b - remove old master