In a Nutshell:
The scholars generally agreed a territory is termed dar al-Islam (home of Islam) where control and sovereignty belongs to Muslims and the shari'a was implemented. Peripheral conditions were disputed and differed upon. These core conditions mean it is irrelevant if its inhabitants are mainly Muslims or not, or whether Muslims are allowed to perform aspects of Islam with the permission of disbelievers who hold power.