It would be interested to see what would happen if it was upheld that a sworn official who passes (or votes for) a law that is later deemed unconstitutional has to step down. I don't believe such a principle would ever be approved by official bodies, but it would certainly have an interesting effect, one way or another.