In a city as pizza-crazed as New York, pizza wars erupt with some regularity, from dollar slice joints battling for customers in Manhattan to a Mafia-tinted dispute over a stolen sauce recipe between a pizza shop in Brooklyn and another on Staten Island.

But perhaps nothing compares to a kosher pizza war, pitting 21st-century foodie-ism against the decidedly 19th-century world of an insular Hasidic neighborhood.

Two pizza restaurant owners, both Orthodox Jews, have become entangled in an only-in-Brooklyn lawsuit, not in an august courthouse, but in an obscure hall of justice known as the Rabbinical Court of Borough Park, which hears cases in a simple room above a synagogue on a residential block.

At the center of the battle are not prices or sauce recipes, but cryptic interpretations of holy law set down in ancient Aramaic thousands of years ago. Both sides have invoked rules dictated by the Torah and the Talmud, as well as a cookbook’s worth of interpretations of kosher rules and certification standards.