There is illegal, actively enforced illegal, and then there is 'your house burns down and insurance denies your claim because you didn't follow local laws' illegal