I don't see a problem.
408.16 requires the panel to have over current protection on the line side of the panel. The 200amp mains comply with the code.

230.70 allows the disconnect to be outside of the building.