They frequently stop cars that are entering at the "border", especially if the plates aren't from Monaco. If the Ferrari had the 4-character plates it likely would have been let through without a second look.
Quite a few reasons they do this, but the police prefers cyclists so worked out for you.