Surrounded by grey rocky mountains and the blue Sea of Oman, the city of Muscat feels like an oasis of calm in a region afflicted by a deepening sectarian conflict. Omanis slip into the nearest mosque to pray, not caring whether it\u2019s run by Ibadis, Shiites or Sunnis. Civil service and military jobs are open for all. And any skepticism expressed about their coexistence is considered offensive. Being the Switzerland of the Gulf served the country well over the decades, helping the sultanate survive, thrive and make it a key conduit for trade and diplomacy in the turbulent Middle East. The problem is that it looks less viable as Oman succumbs to the all-too-familiar financial strains of countries reliant on petrodollars and the geopolitics of its location. The key to Oman\u2019s independence has been its ability to fend for itself financially. That might have to change if the government can\u2019t fix the economy soon. If Oman is forced to seek assistance from the more powerful and wealthier Saudi Arabia and United Arab Emirates, there may be political strings attached that drag the country into their orbit. It risks upsetting the balance further in a region already upended by the proxy conflict with Iran. \u201cEconomic instability is possibly the single biggest threat to Oman,\u201d said Cinzia Bianco, Middle East and Gulf analyst for Gulf State Analytics in London. \u201cBecause they were able to cope economically, they were also relatively safe from peer pressure from other regional powers.\u201d Oman shares land borders with Saudi Arabia, the U.A.E. and war-ravaged Yemen and a sea border with Iran. Independence and neutrality have been a cornerstone of Omani policy since Sultan Qaboos took power in 1970. When Arabs boycotted Egypt for its 1978 peace deal with Israel, Oman maintained the ties. It refused to take sides in the eight-year war between Iran and Iraq in the 1980s. More recently, Oman has kept its embassy in Syria open even as other Gulf states cut diplomatic relations with Damascus. It refused to join the Saudi-led war on Yemen and has kept its ports open to Qatar, which is using them to get around a boycott by Saudi Arabia, the U.A.E., Bahrain and Egypt. \u201cWhen I tell people in Europe that I am Omani, they instantly know I am not a trouble-maker,\u201d Muscat businessman Ammar Alsidairi, 26, said during an intermission at a concert by the Russian National Orchestra at the Royal Opera House in Muscat. But like the rest of the Gulf, Oman\u2019s finances have been battered after crude oil prices started to decline in 2014. The slump in revenue hit the rest of the economy. Gross domestic product excluding oil production grew 2 percent last year down from an average 7 percent between 2000 and 2014, according to the International Monetary Fund. The economy as a whole shrank in 2017 for the first time since 2011. The country has had to borrow heavily to finance spending and cover the sizable outflows from remittances by foreign workers. The result is that it has the Gulf\u2019s most fragile currency peg. On a visit to Oman last month, it was clear that the economy was very much on everybody\u2019s mind. Talk was of diversification away from oil, the need for tourism and the drive to create employment for locals. State-run newspapers highlighted the government\u2019s ability to find jobs for over 20,000 Omanis in five months. \u201cOmanization\u201d is at full steam, though Omani businessmen, like those in Saudi Arabia and other Gulf countries where a similar effort is underway, are unhappy because foreign workers are cheaper. Efforts to diversify away from oil and gas, which make up about 70 percent of government revenue, have taken on more urgency. \u201c2017 was the year to learn how to expedite things and I believe in 2018 we will start to see a lot of projects coming to reality,\u201d Talal Al Rahbi, deputy secretary-general to the Supreme Council for Planning, said at his office in Muscat. The aim is to focus on five industries whose contribution to growth and government have been lagging: tourism, logistics, fisheries, mining and manufacturing, said Al Rahbi. A new working model, called \u201cTanfeedh,\u201d Arabic for \u201cexecute,\u201d was put in place in 2016 to reach the goal. In the next five to 10 years, their contribution to the economy may reach as much as a combined 50 percent from about single digits for most, he said. There\u2019s plenty of activity. Oman boasts a new airport that opened in March\u2014the paint and the carpets still smell fresh. It\u2019s building a special economic zone in Duqm south of Muscat that includes a port, dry dock, industrial zones and another airport. Ahmed Dabbous, chief executive officer of real estate developer Muriya, said his company opened 1,000 hotel rooms in the country in the past five years because of the potential in tourism, especially in the southern coastal city of Salalah, which now has direct weekly flights with some cities in Europe. The growth in the sector has been \u201cimpressive,\u201d he said. The sultan, who sought treatment abroad a few years ago for an undisclosed illness, has been more visible recently, receiving dignitaries and hosting dinners. For all the similarities with Gulf peers when it comes to economic challenges, Omanis are protective of what differentiates them from the rest of the region. The determination to preserve the country\u2019s strong national identity is evident on the streets of Muscat. The sprawling capital has a population of 1.3 million, roughly on a par with Doha in Qatar and less than half that of Dubai. Rather than the glitz of glass and steel towers that define those other metropolises, Muscat has low-rise beige villas with traditional arches and windows enclosed with carved wood latticework. \u201cIt\u2019s about our identity, it\u2019s one of our very strong brands,\u201d said Zuwaina Al-Rashdi, 39, owner of a store that sells Omani-made handicrafts rather than most of the merchandise in the city\u2019s souq that\u2019s made in India. For older Omanis, the country\u2019s development over the years has been nothing short of a \u201cmiracle,\u201d said Tawfeeq Allawati, 56, a member of Oman\u2019s Shura Council. But the question is whether it can still forge its own path. Everyone realizes there are challenges today, Allawati said, including an education system that\u2019s largely incompatible with the requirements of a modern economy and a public sector that remains a more attractive employer than private companies. \u201cBut I hope we\u2019re headed in the right direction now,\u201d he said.