The producers think that the twins playing Zack and Cody are too young, and it is decided that the real Zack and Cody should play themselves.
It was determined by the producers that the twins casting Zack and Cody were not old enough, hence the real actors, Zack and Cody, will perform their roles.