Halmstads kommun bröt mot lagen