For the Dutch, Johor provided a buffer against other Europeans.
Europeans had to go through Johor to get to the Dutch.