The idea that laws decide what is right or wrong is mistaken in general. Laws are, at their best, an attempt to achieve justice; to say that laws define justice or ethical conduct is turning things upside down.
Free Software, Free Society: Selected Essays of Richard M. Stallman (ed. 2002)