The judge , James L. Robart of Federal District Court , ruled on Monday that Seattle had effectively created a licensing scheme that restricted the issuing of adult cabaret licenses , amounting to illegal restraint on a legal business .