Education minister Jacqui Smith said the move would create "a clear legal requirement for schools".