Violation of local-to-global principles for rationality and linearizability