The Greens have been in coalitions in a number of states, notably in Germany but also in Ireland and Belgium. So they have already participated in the administration of capitalism just like the more conventional capitalist political parties.
Not that the being in the “Scottish Government” is same, as this is not in charge of a state but only of an administrative unit within a state and has no coercive power at its disposal. Most of its money comes from the UK state which allows it how to spend it. I have always referred to its equivalent in Wales (which has even less powers) as the Welsh County Council. The Scottish Parliament is not that much different.
Still, it is something we need to capture as well as the state of which it is a part, in accordance with our view that the working class should organise “for the conquest of the powers of government, national and local.”