This is action by the Cuban Government, not a US Federal action.
But the US government is a signatory, and it's not allowed to sign agreements that violate its citizens' Constitutionally-guaranteed rights. So its signature on the agreement is invalid, unless the Cuban government changes its policies.