It is a bug that the ship is still commercial. I updated the code so that the 'commercial' designation requires at least 1 HS of engineering.
For v1.14, I've changed the error message to "Commercial designs require at least one Engineering Space". This will appear if the ship design is military, but the other reason for that is the lack of the 1HS engineering requirement.