The Irish legislature was scrambling Tuesday to pass an emergency measure after a loophole in a court decision legalized a host of drugs, including ecstasy and magic mushrooms.
The Irish Court of Appeal declared Tuesday morning that a section of the 1977 Misuse of Drugs Act, which regulated the now-legal drugs, unconstitutional, according to the Irish Times. A new bill criminalizing the drugs, if passed, will not take effect in the country until Thursday at 12 a.m.
“All substances controlled by means of Government Orders made under section 2(2) cease to be controlled with immediate effect, and their possession ceases to be an offence,” read a statement issued by Ireland’s Department of Health. “These include ecstasy, benzodiazepines and new psychoactive substances, so-called ‘headshop drugs.'”
It is, however, still illegal to sell the drugs. Other drugs that were outlawed with earlier legislation, like cocaine, heroin and marijuana, remain banned.
Read next: This New Drug Turns ‘Bad’ White Fat Into ‘Good’ Brown Fat
More Must-Reads from TIME
- Donald Trump Is TIME's 2024 Person of the Year
- Why We Chose Trump as Person of the Year
- Is Intermittent Fasting Good or Bad for You?
- The 100 Must-Read Books of 2024
- The 20 Best Christmas TV Episodes
- Column: If Optimism Feels Ridiculous Now, Try Hope
- The Future of Climate Action Is Trade Policy
- Merle Bombardieri Is Helping People Make the Baby Decision
Contact us at letters@time.com