National Security and Borders is a Federal issue. If I were govenor of California I would demand all tax dollars come to the state to be paid to the Federal government. No tax dollars could be collected by the federal government. No federal agents would be permitted to exercise authority in California without state approval. If the Feds wished to withhold Fed $$, California would withhold all taxes collected. The Feds would have to settle the border or they wouldn't get a dime!
Any Fed judge that wished to interfere would be arrested. 10th Amendment would prevail. Book 'em Dano!
You bet, the fish stinks from the head.