The state has taken Huntington Beach to court to try to get it to comply with state housing laws. The city is suing the state over the issue, too.