The law specifies which redactions are legal. The enforcement mechanism, IIRC, comes through obstruction.