Call it Cory’s Law: Jersey Gov. Phil Murphy just signed legislation to let Sen. Cory Booker run for re-election to his current job in 2020 even as he also campaigns for the presidency.

Even if he only nabs the Democrats’ vice-presidential nomination, he can be on Garden State ballots twice.

Officially, the new law allows any Jerseyan to run for the presidency or vice presidency at the same time as he or she pursues a House or Senate seat. But this was obviously passed to make life easy for Booker: He can try to move up while safely expecting (in deep-blue Jersey) to still have a job if the Dems’ national ticket comes up short.

Two other states have similar provisions. Texas adopted one for then-Sen. Lyndon Johnson back in 1959.

Ironically, it was just a few years back that the Garden State finally stopped politicians from holding state and local offices simultaneously. Consider this a tiny step back toward that insider-friendly system.

Also notable: Back in the Chris Christie years, Jersey Democrats introduced legislation aiming to force “any” governor to resign if he ran for president. Whatever principle that was about is plainly moot now.

Then, too, Booker is the guy who just made a huge deal about taking risks in pursuit of principle, in his silly “I am Spartacus” act during the Brett Kavanaugh confirmation hearings. Now he’s playing along with the Trenton machine so that he’ll be risking nothing (aside from a humiliating showing in the Democratic primaries) in 2020.

Then again, Booker’s shown he’ll play any role — from pro-Wall Street moderate to hard-line progressive — if he thinks it’ll help his career. No surprise that he’s also willing to play old-school Jersey favor-trader.