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
- Breaking Down the 2024 Election Calendar
- Heman Bekele Is TIME’s 2024 Kid of the Year
- The Reintroduction of Kamala Harris
- What a $129 Frying Pan Says About America’s Eating Habits
- A Battle Over Fertility Law in China
- The 1 Heart-Health Habit You Should Start When You’re Young
- Cuddling Might Help You Get Better Sleep
- The 50 Best Romance Novels to Read Right Now
Contact us at letters@time.com