Possible bug with AI

Sorry, new to the forum. Just played with friends a bunch.

Playing with custom rules for warpgates.

Current setup is that people can’t build warpgates, but there is a random set of Stars that started with them. Players can’t destroy them either.

Player concedes defeat and hands over to AI. The AI destroys their warpgates immediately.

AI shouldn’t be able to override the rules that way.