State law as a means of resistance