Debate on this topic was sparked when the state of North Carolina introduced a respective law ( the so-called `` North Carolina bathroom law '' ) , causing for example corporate boycotts and even the Justice Department to weigh in and advise the state to modify the law since it violates civil rights .