High court weighs policy against curse words on TV