It is also an offence for a person to be drunk in the relevant area of a designated sports ground, or to attempt to enter the ground while drunk. Section 21 gives the police powers of entry and search. These provisions were previously in the Criminal Justice (Scotland) Act 1980. Current designations are under the Sports Grounds and Sporting Events (Designation)(Scotland) Order 2004. The Sports Grounds and Sporting Events (Designation)(Scotland) Amendment Order 2007 de-designated Senior Men's International Rugby Union Matches played at Murrayfield Stadium and Hampden Park, allowing alcohol to be sold at matches during the 2007 Rugby World Cup. Part III of the Act deals with detention and questioning by customs officers. These sections were formerly sections 48 to 50 of the Criminal Justice (Scotland) Act 1987. Section 24 gives officers of Her Majesty's Revenue and Customs power to detain a person for up to 6 hours to facilitate the carrying out of investigations into a criminal offence and/or whether criminal proceedings should be instigated for that offence. The power applies only to offences relating to "assigned matters" (defined in section 1 of the Customs and Excise Management Act 1979 which are punishable by imprisonment. Subsections (5) and (8) set out various protections for the rights of the detained person. Section 25 provides that where a person is detained under section 24, he is entitled to have intimation of his detention and of the place of detention sent to a solicitor and to one other person named by him without delay, and the person is to be informed of this entitlement. Where some delay is necessary in the interest of the investigation or the prevention of crime or the apprehension of offenders, this is to be done with no more delay than is so necessary. Where the detained person is a child (under 16), notification is to be sent to the child's parent, who is entitled to attend. Section 26 provides further powers in connection with drug smuggling offences, where it is believed that a controlled drug is secreted in a person's body. The section authorises detention for up to 24 hours, the taking of blood and urine samples, intimate searches by a registered medical practitioner. The period of detention can be extended up to 7 days in certain circumstances on application by the procurator fiscal to the sheriff. Part IV of the Act deals with the investigation of serious or complex fraud. These sections were formerly sections 51 to 54 of the Criminal Justice (Scotland) Act 1987. Section 27 empowers the Lord Advocate to make a direction where it appears to the Lord Advocate—  Where a direction has been made, the special investigatory powers in section 28 apply.