In WA it is the opposite: the voters had an initiative and set up a state-run primary, the Republicans decided to recognize the results for some of their delegates -- the Dems are not using the results at all, they are sticking to their caucus system.
So the local party can over-ride a state ordered primary if they want to.