The Supreme Court on Thursday unanimously threw out fines and other penalties against broadcast companies that violated the Federal Communications Commission policy regulating curse words and nudity on television airwaves.

But the justices declined to issue a broad ruling on the constitutionality of the FCC’s indecency policy. Instead, the court concluded only that broadcasters could not have known in advance that obscenities uttered during awards show programs and a brief display of nudity on an episode of ABC’s “NYPD Blue” could give rise to penalties. ABC and 45 affiliates were hit with proposed fines totaling nearly $1.24 million.