Administrative officials had rejected the organization's application, saying the event’s costume contest would harm children.