(CNN) -- A judge on Saturday ordered a man -- arrested and charged with weapons violations after a small explosion at a Danish hotel -- to be held in custody until October 4, while an investigation into the incident continues.
Police said they have not ruled out the possibility the act was terror-related.
The man, who is "about 40," was treated at a Copenhagen hospital for injuries he received in the blast Friday, police said. The extent of his injuries was unclear, though police said they were not life-threatening.
On Saturday, he appeared before a judge at a closed hearing and said he was innocent of attempting to explode a bomb and carrying an illegal weapon. The suspect was on crutches as he is missing a leg, though it was not immediately clear whether the injury was a result of the explosion.
He was charged with possession of a gun and the explosion of a bomb with the intent of putting lives at risk, according to Danish journalist Elisabeth Arnsdorf Haslund.
Police said the man, whom they have yet to identify, caused an explosion in the basement bathroom of the Hotel Joergensen in central Copenhagen. The blast destroyed the bathroom and injured the suspect, who then ran into a nearby park.
Police surrounded the man in the park, and the bomb squad detonated a pouch he was wearing.
Guests and workers at the hotel were evacuated while explosives experts searched through rooms and bags, police said.
The suspect is refusing to cooperate and answer questions, police said, adding they are working with international police agencies to establish his identity and movements. The papers the suspect had at the time of his arrest did not match his person, police said.
Divers are searching the lake in the area where he was arrested for any suspicious materials, they added.
Denmark raised its alert level after the arrest, based on advice from the Danish intelligence and security service, which is involved with the investigation, police said.
"We have evaluated the information we have at present and cannot exclude that this was an act of preparation for terror," said Copenhagen Chief Police Inspector Jorn Aabye, according to CNN affiliate TV2 Denmark.
CNN's Susanne Gargiulo contributed to this report.