This decision was entirely predictable and will probably be affirmed on appeal, at least at the Court of Appeals level. The U.S. Supreme Court struck down prior PBA bans as unconstitutional by a 5-4 vote, about two years ago. Lower courts are required to follow Supreme Court precedent. The U.S. Supreme Court might reverse this decision, but only if one of the 5 judges who voted in the majority last time decides that this law is significantly different from the prior one.
here is a link to the Supreme Court's decision striking down a prior PBA ban.