When setting g_DebugCommands to true in Commands.js, many dozens of Invalid command: attack target is not owned by enemy of player warnings will be logged when a player tries to regain capture points from one of its own structures. This is very annoying when trying to debug the AI (Petra already has checks to make sure targets are owned by enemies).
I guess this may have been overlooked in rP16550 or some other related commit that dealt with capturing.