Better plan; sell California to Mexico, AFTER closing the borders between California and the rest of the U.S.
(1) Seal the California borders.(2) GIVE California to Mexico.(3) If Mexico won't take it--declare war and force Mexico to take it.
(2) GIVE California to Mexico.
(3) If Mexico won't take it--declare war and force Mexico to take it.