If it goes the wrong way then the Executive branch should ignore the ruling and refuse to prosecute.
That won't happen if the Executive is a Democrat, especially if the Executive is Queen Hillary. In that case and if the Congress is controlled by Democrats, full on gun confiscation will commence. They'll be doing it for the children. Every one of us should be at Yellow Alert.