A public furor erupted when musical groups formed by Pennsylvania’s Graterford Prison inmates were featured on the television show “Music Behind Bars” on VH-1, and then-Gov. Mark Schweiker quickly vowed to silence the jailhouse rock.

Now a federal judge has ruled that the new limits imposed on inmate musicians in the wake of the controversy are not unconstitutional — even though groups performing religious music are accorded more freedom.