En mandlig officer fik bøde for at have sit hår i en hestehale. Nu har forfatningsdomstol givet ham ret.