If you are living in a country, then you should obey the local laws. Cow slaughter is illegal in India, and despite that members of the minority community perform it and trade with raw beef. If you don't obey the laws, then you have only yourself to blame.