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
- Your Vote Is Safe
- The Best Inventions of 2024
- How the Electoral College Actually Works
- Robert Zemeckis Just Wants to Move You
- Column: Fear and Hoping in Ohio
- How to Break 8 Toxic Communication Habits
- Why Vinegar Is So Good for You
- Meet TIME's Newest Class of Next Generation Leaders
Contact us at letters@time.com