In Europe definitely the court decision would prevail.
If we take Russia from where I am, the court decision would prevail over the government definitely especially regarding such not-so-important issue. It will prevail automatically: every person on duty will follow the court's decision rather than other regulations. Not following a court decision is a crime.
I want to point out that in modern Russia the judges are heavily dependent on the president in their career, so they are highly unlikely making decisions against the president. But they make the decisions against the government and ministries routinely.
In 1993 there was a case where the Constitutional court decided that the president violated the Constitution by disbanding the legislature and should step down. This led to a major constitutional crisis involving tanks firing on the legislature building. The president made a coup, enacted new constitution, the head of the constitutional court was fired (ironically, now he is the head of the constitutional court again thanks to his principled position that time).
So, for Russia the answer is: the courts will prevail or there will be a major constitutional crisis involving tanks firing in the capital.