Why on earth is there heat on this subject?
I would expect any challenge to "ramp check authority" to be weighed against "public benefit" just as a matter of common sense -- nobody wants you flying some unairworthy contraption above them, and nobody wants you doing that without proper credentials.
So if someone DID challenge this because "muh freedoms", and even if you won and got ramp check authority stricken down -- there would certainly come a stronger and better law authorizing ramp checks to replace it, and quickly.
I don't know what we're debating here. "Ramp checks hurt my feelings" ? This is a really weird hill to die on. I'd love to de-fang the FAA in myriad and assorted ways, but "ramp checks" seems low on the target list to me.
$0.02