Your sentence is correct. In American English it is common to refer to a group in the singular, the government is, while in British English the same group will be considered plural. It makes sense.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.