B845271 is the second razor you posted with the baseplate attached to the handle. Not the one with foreign stamped on it.
Gillette serial numbers info can be found below, it was manufactured in 1911 and was part of was part of a standard set (as shown on my previous post)
www.badgerandblade.com
The first set you posted is a 504 empire pocket set, with the mismatched 'foreign' razor.
Info on the set can be found here.
www.badgerandblade.com
Empire Pattern:
No504: Triple Silver Plated Case and Razor
No504 A: Gun Metal Case and Gold Plated Razor
No504 B: Gold Plated Case and Razor
Gillette serial numbers info can be found below, it was manufactured in 1911 and was part of was part of a standard set (as shown on my previous post)

US Gillette Dating Information
This page documents what we know about Gillette safety razor serial numbers and date codes. Razors made in USA often left the factory with serial numbers or date codes, which can be used to establish their manufacturing dates. During certain periods so

The first set you posted is a 504 empire pocket set, with the mismatched 'foreign' razor.
Info on the set can be found here.

Guide to American Button Company Pocket Edition Sets: Part Two - Cases
This is part 2 of 2 in our introduction of the American Button Company pocket razor contracted by The Gillette Safety Razor Co. In this thread, we focus on the cases themselves. Part one (Razors) focused on the razors. It is a joint project of Len (Oldguy) and myself and is meant to introduce...

Empire Pattern:
No504: Triple Silver Plated Case and Razor
No504 A: Gun Metal Case and Gold Plated Razor
No504 B: Gold Plated Case and Razor