From 1826 , British law was technically in force ( except for Muslim custom ) , but in practice few British lived in the Straits , and Asian community affairs were run by merchant leaders serving as unofficial kapitans .
British law was not widely enforced as the citizenry was largely not British .