Australian defense minister ‘hurt’ by mean tweet wins court battle