maybe he wants something in his pocket that he can bring up to say “see! i’m not racist!”. or maybe he thought it was a losing battle? (it would probably be extremely easy for a court to rule that a dreadlocks ban is unconstitutional)
according to this article, the law was introduced by a democrat and “sailed through both chambers of the Legislature with overwhelming support”. so that at least gives some support to the second hypothesis.