More Answers Please

You see the post below about US military authorities in Iraq confiscating news footage that the AP took at today’s bombing in Baghdad. According to a US military spokesman, they were enforcing a new Iraqi law banning photographs or news footage of terrorist attacks.

My question is, How did the US military get in the position of enforcing that law?