Bearing in mind that you say you are currently on Android 12 (S) …
You could dig into the install
and META-INF
directories of the downloaded ROM, then chase down to updater and specifically the updater-script
which will open in a text editor. Now you could look for the text (or similar) which I observerved
Edit I downloaded e-2.6.3-u-20241217455570-community-a52q.zip
and opened from the extracted folder e-2.6.3-u-20241217455570-community-a52q/META-INF/com/google/android/updater-script
The updater-script starts
assert(getprop("ro.product.device") == "a52q" || getprop("ro.build.product") == "a52q" || abort("E3004: This package is for device: a52q; this device is " + getprop("ro.product.device") + "."););
assert(samsung_sm7125.verify_bootloader_min("C") == "1" || abort("ERROR: This package requires Android 13 based firmware. Please upgrade firmware and retry!"););
The package requires Android 13 based firmware.
Comparing Upgrading to android U : is going back to stock rom necessay? - #3 by aibd demonstrates also that not a /e/OS ROMs behave the same way!