The last three preceding sections have effect subject to any agreement made by, or on behalf of, the Commonwealth or a State with the author of the work or with the maker of the sound recording or cinematograph film, as the case may be, by which it is agreed that the copyright in the work, recording or film is to vest in the author or maker, or in another person specified in the agreement.