A law for everything

Washington Inmates Banned From Making Sexy Outfits for Female Prison Guards

These people are already in jail, under guard, and can't do much of anything until ordered to do so...so why in the heck couldn't this have been dealt with using prison disciplinary procedures? Why raise the issue to the height of a law?