What happens when police, sworn to uphold the law, are given contradictory orders about the law by the judicial and executive branches. A melee?
Obviously everybody talks and sorts it out.
But legally the police's superior is the executive and that is who they obey, not the judge.
If the executive is wrong then it is for the legislature to sort it out.