From: Rabbi Moshe Sofer
To: Rabbi Lima
A communal leader rents a brewery and seeks to justify non-Jewish Shabbos operation by giving the worker a small share as pseudo-sharecropping. The Chasam Sofer rejects this as a transparent ruse and instead proposes a per-batch contract payment arrangement (kabblanus with havla'ah), though he ultimately withholds a formal ruling due to residual maris ayin concerns from nearby Jewish residents.
Source: Shu"t Chasam Sofer OC §59