Representatives of four major professional sports leagues and the NCAA are shocked — shocked — that Gov. Chris Christie would allow sports gambling in New Jersey.

Like the indignant Capt. Renault, they splutter at the very idea of endangering the integrity of professional and amateur games.

Allowing and promoting sports gambling “would irreparably harm amateur and professional sports by fostering suspicion that individual plays and final scores of games may have been influenced by factors other than honest athletic competition,” they say in a federal suit aimed at blocking legal wagering.

At the same time, like the cagy captain in “Casablanca,” they’re pocketing their winnings. Their teams generate billions in revenue thanks, in part, to the interest heightened by wagers.

Yet the suit filed last week insists on spinning out the hypocrisy.

Sen. Ray Lesniak (D-Elizabeth) a longtime supporter of legalizing sports betting, says the suit is playing right into New Jersey’s hands.

“Let the games begin,” Lesniak said. “From the start, we wanted our day in court to prove that the federal ban on sports wagering is unconstitutional.”

A previous legal challenge to the federal law prohibiting online sports wagering in any but four states — Nevada, Delaware, Oregon and Montana — failed because New Jersey did not have standing.

That standing is now apparent after voters in November approved a measure to amend the state Constitution to legalize sports wagering and the governor signed a law to that effect in January.

The court case will hinge on whether the sports organizations can successfully defend the constitutionality of the 1992 law that gives a monopoly to a few states.

If New Jersey prevails, visitors to the state’s casinos and racetracks will be able to place bets on professional games, as well as college contests that are played outside the state and don’t involve New Jersey teams.

Major league baseball, basketball, football and hockey, as well as the NCAA, apparently don’t acknowledge illegal sports betting that generates up to $500 billion a year across the country. That’s despite announcers candidly discussing the point spreads on any given game day and the ubiquitous NCAA pools that flood the country every March.

New Jersey officials, however, make no bones about wanting to corral some tax revenue from all the money now finding its way into the accounts of offshore gambling sites and the hands of bookies.

No matter what happens in court, wagering on games will continue in New Jersey. It’s just a question of who benefits.

Follow @TimesofTrenton