Should the federal government ever intervene in a state's business?

Take for example, District of Columbia v. Heller.

What if the Mayor of DC, said screw you, I'm still going to enforce the ban. What then is the role of the federalies?