A trade treaty gave the Dutch command of the spice trade but reserved Johor's rights in tin exports from Perak, Selangor, and Klang.
The spice trade was given to the Dutch in a trade treaty.