I do find all of these issues related though, and that your comment is only naive because it isn't nuanced enough. Naive wouldn't have been the word I would have led with, as it is your word for yourself willing to be open to another perspective.
I don't find that action immoral because I don't find the state's goal grounded in morality. I find both agents to be amoral, with the individual's amorality being both compliant and reactionary to the state's amoral aggregate legislative process where the legislatures are inattentive and misguided and misled.