Religious hatred law comes into force