Account-console client misses default and optional scopes

I have a realm with several clients and custom scopes. All of them are described in realm.json file.

Custom scopes are defined in “clientScopes” array along with all built-in scopes as acr, roles, profile etc.
Import is successful but account and account-console clients (they are not described in realm.json and are created by RealmManager) miss all the default and optional scopes which leads to broken Account Console UI - all the users get Permission Denied when trying to access Account Console.

After several days of thinking and doing research, I’ve finally found that if “clientScopes” is defined, default and optional scopes are not created and applied to existing clients.

So, how I can have custom scopes and working Account Console UI at the same time?
Also I’ve found that after realm import, a RealmModel.RealmPostCreateEvent() is fired. How I can handle this and add missing scopes to the clients? Is this possible?