Unable to uncheck 'custom' checkbox for new doctype in version frappe 13.9.1

Turned out it wasn’t really the ‘Administrator’ account (mentioned here)i was trying with. ‘Administrator’ account is the one created while installing ERPNext.

Silly of me to assume that any account with all roles selected and permission for all seen doctypes was also an Administrator account.