Section 238 shall have effect as if after “the Secretary of State" there were inserted “or, as the case may be, the National Assembly for Wales".