The ban is set to come into force at midnight unless the legal bid for a temporary block is successful.