For Johor, astute, tough-minded Sultan Abu Bakar avoided protectorate status by going to London to negotiate a straight alliance, getting a Consul rather than a Resident.
Johor cleverly became a partner of London rather than a subject.