Voters during the federal election. A man has won a legal battle in a NSW court after being prosecuted for failing to vote