What security risk is not having “default” theme?

In case you wanted to try – here is the code snippet to add to wp-config.php

define('WP_DEFAULT_THEME', 'theme-folder-name');
define('CORE_UPGRADE_SKIP_NEW_BUNDLED', true);

error code: 523