A White House official confirmed President Trump's Twitter announcement Saturday that he would allow full access to the classified files related to the JFK assassination – with one caveat.

"The President believes that these documents should be made available in the interests of full transparency unless agencies provide a compelling and clear national security or law enforcement justification otherwise," a White House official said, according to press pool report.

The Saturday morning tweet came as a surprise to many as it countered a report that predicted the president was likely going to block the document's release by the National Archives, citing pressure from the CIA over possibly harmful national security information being revealed.

The National Archives' deadline to release the 3,100 documents, primarily from the CIA and FBI, is Oct. 26. The date was established by the President John F. Kennedy Assassination Records Collection Act of 1992, which was signed into law by former President George H.W. Bush in an effort to cut back the amount of conspiracy theories about Kennedy's death.