The location of an asset for capital gains purposes is determined by legislation.