ref
Possibly from 18th- and 19th-century slang phrase "to pull Yorkshire on a person", meaning to trick or deceive them.