Once the Japanese occupied Brunei, they made an agreement with Sultan Ahmad Tajuddin over governing the country. Inche Ibrahim (known later as Pehin Datu Perdana Menteri Dato Laila Utama Awang Haji Ibrahim), a former Secretary to the British Resident, Ernest Edgar Pengilly, was appointed Chief Administrative Officer under the Japanese Governor. The Japanese had proposed that Pengilly retain his position under their administration, but he declined. Both he and other British nationals still in Brunei were interned by the Japanese at Batu Lintang camp in Sarawak. While the British officials were under Japanese guard, Ibrahim made a point of personally shaking each one by the hand and wishing him well.