Reference for Makkot 34:10
וכי מזהירין מן הדין הא אפילו למאן דאמר עונשין מן הדין אין מזהירין מן הדין איסורא בעלמא
But, can we even derive a scriptural warning from a kal v'chomer? That even according to the opinion that we can derive a punishment from a kal v'chomer, we still cannot derive a scriptural warning from a kal v'chomer. Rebbi Shimon just means to learn out a prohibition [but not malkus]
Jastrow
Ask RabbiBookmarkShareCopy