This command makes the specified province no longer a core of the country it belongs to.
remove_core [province id] [country tag]
Search Our Database of 304 EU4 Console Commands
remove_core 213 SPA
Barcelona's province ID is 213. Spain has a country tag of SPA. This command would make Barcelona no longer a core of Spain.