Washington (CNN) The Trump administration supports an existing law they say makes it illegal to own or make homemade plastic guns, a White House official said Tuesday, coming hours after President Donald Trump tweeted that the availability of the firearms "doesn't seem to make much sense!"

"The President is committed to the safety and security of all Americans; he considers this his highest responsibility," deputy press secretary Hogan Gidley said to reporters aboard Air Force One. "In the United States, it's currently illegal to own or make a wholly plastic gun of any kind, including those made on a 3D printer."

The administration supports the three-decade-old law, Gidley said, "and will continue to look at all options available to us to do what is necessary to protect Americans while also supporting the First and Second amendments."

The comments came one day before a government settlement would have allowed plans to be posted online following a settlement with gun-rights activists.

On Tuesday evening, a federal judge issued a temporary restraining order blocking the federal government from allowing distribution of downloadable 3D-printed guns, according to a tweet from the Washington State Attorney General's Office

Read More