The lawsuit, filed in Commonwealth Court on Saturday, said Philadelphia lacks the authority to impose such a mandate.