I tried replacing the Roman infantry general unit from Vet Legionnaires and Evocati Cohorts to the Praetorian and Praetorian Guard in commander_unit_permissions, but now both units are always available even when the tech is unresearched.

Is there another table that controls general bodyguards?