It does not matter! The key is...
The colors of the diagonal squares do not matter. A non-red diagonal square needs to contact only one red square, and a red square needs to contact only one red square as well. The key is a diagonal square does not side-contact any other diagonal square.